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 4a296e8 commit 63d62a6Copy full SHA for 63d62a6
TSPL.docc/ReferenceManual/Declarations.md
@@ -2273,7 +2273,8 @@ as discussed in <doc:Declarations#Extension-Declaration>.
2273
## Protocol Declaration
2274
2275
A *protocol declaration* introduces a named protocol type into your program.
2276
-Protocol declarations are declared at global scope
+Protocol declarations are declared either at global scope
2277
+or nested inside a nongeneric type or nongeneric function,
2278
using the `protocol` keyword and have the following form:
2279
2280
```swift
0 commit comments