File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ a nonfailable initializer or an implicitly unwrapped failable initializer.
755755## Protocols as Types
756756
757757Protocols don't actually implement any functionality themselves.
758- Nonetheless , you can use a protocol as a type in your code.
758+ Regardless , you can use a protocol as a type in your code.
759759
760760The most common way to use a protocol as a type
761761is to use a protocol as a generic constraint.
@@ -781,8 +781,8 @@ Code with a boxed protocol type
781781works with any type, chosen at runtime, that conforms to the protocol.
782782To support this runtime flexibility,
783783Swift adds a level of indirection when necessary ---
784- this indirection is known as a * box* ,
785- and it has a performance cost.
784+ known as a * box* ,
785+ which has a performance cost.
786786Because of this flexibility,
787787Swift doesn't know the underlying type at compile time,
788788which means you can access only the members
You can’t perform that action at this time.
0 commit comments