File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -752,15 +752,13 @@ a nonfailable initializer or an implicitly unwrapped failable initializer.
752752 ```
753753-->
754754
755- ## Protocols That Have Semantic Requirements
755+ ## Protocols That Have Only Semantic Requirements
756756
757757All of the example protocols above require some methods or properties,
758- but a protocol doesn't have to include any requirements.
759- You can also use a protocol to mark types
760- that satisfy some * semantic* requirements ---
761- requirements about how values of those types behave
762- and about operations that they support ---
763- not just requirements that you express in code.
758+ but a protocol declaration doesn't have to include any requirements.
759+ You can also use a protocol to describe * semantic* requirements ---
760+ that is, requirements about how values of those types behave
761+ and about operations that they support.
764762<!--
765763Avoiding the term "marker protocol",
766764which more specifically refers to @_marker on a protocol.
You can’t perform that action at this time.
0 commit comments