From cb2b973e1c57bed4f6a6aaa35bdf861539dbce86 Mon Sep 17 00:00:00 2001 From: Jerry Chen Date: Fri, 17 Oct 2025 12:37:44 -0700 Subject: [PATCH] Fix link to NonFinalGenericMethods docs in the Existentials doc The original version was broken in two ways: 1. On docs.swift.org, the link points to non-existent https://docs.swift.org/embedded/documentation/embedded/existentials/NonFinalGenericMethods.md 2. In a locally generated DocC archive, the link points to non-existent https://developer.apple.com/documentation/embeddedswift/NonFinalGenericMethods, rather than the page in the same documentation archive --- .../Documentation.docc/UsingEmbeddedSwift/Existentials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/EmbeddedSwift/Documentation.docc/UsingEmbeddedSwift/Existentials.md b/Sources/EmbeddedSwift/Documentation.docc/UsingEmbeddedSwift/Existentials.md index 716e009f..7d69964e 100644 --- a/Sources/EmbeddedSwift/Documentation.docc/UsingEmbeddedSwift/Existentials.md +++ b/Sources/EmbeddedSwift/Documentation.docc/UsingEmbeddedSwift/Existentials.md @@ -51,7 +51,7 @@ let concrete = existential as! Derived // ✅, and will trap at runtime if a dif Class-bound existentials in Embedded Swift do come with some restrictions compared to class-bound existentials in regular Swift: -- You cannot use an existential to call a unbounded generic method from the protocol. This is described in depth in [Embedded Swift -- Non-final generic methods](NonFinalGenericMethods.md). For example: +- You cannot use an existential to call a unbounded generic method from the protocol. This is described in depth in . For example: ```swift protocol ClassBoundProtocol: AnyObject { func foo(t: T)