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.
2 parents 19ab0a1 + 4c61220 commit 2dd50bbCopy full SHA for 2dd50bb
docs/ReferenceGuides/UnderscoredAttributes.md
@@ -251,7 +251,7 @@ even when `Self` is a reference type.
251
```swift
252
class C {
253
func f() {}
254
- func g(_: @escaping () -> Void {
+ func g(_: @escaping () -> Void) {
255
g({ f() }) // error: call to method 'f' in closure requires explicit use of 'self'
256
}
257
func h(@_implicitSelfCapture _: @escaping () -> Void) {
0 commit comments