Skip to content

Commit bfd1d8f

Browse files
committed
Incorporate edits from Chuck
Edits from <rdar://145499286>.
1 parent 7e8b12c commit bfd1d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/LanguageGuide/OpaqueTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ declares a generic type parameter named `SomeShape`,
949949
with a constraint that requires `SomeShape` to conform to the `Shape` protocol.
950950
The `drawTwiceSome(_:)` function
951951
uses the type `some Shape` for its argument.
952-
This creates a new, unnamed, generic type parameter for the function
952+
This creates a new, unnamed generic type parameter for the function
953953
with a constraint that requires the type to conform to the `Shape` protocol.
954954
Because the generic type doesn't have a name,
955955
you can't refer to that type elsewhere in the function.

0 commit comments

Comments
 (0)