We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8b12c commit bfd1d8fCopy full SHA for bfd1d8f
TSPL.docc/LanguageGuide/OpaqueTypes.md
@@ -949,7 +949,7 @@ declares a generic type parameter named `SomeShape`,
949
with a constraint that requires `SomeShape` to conform to the `Shape` protocol.
950
The `drawTwiceSome(_:)` function
951
uses the type `some Shape` for its argument.
952
-This creates a new, unnamed, generic type parameter for the function
+This creates a new, unnamed generic type parameter for the function
953
with a constraint that requires the type to conform to the `Shape` protocol.
954
Because the generic type doesn't have a name,
955
you can't refer to that type elsewhere in the function.
0 commit comments