Skip to content

Commit 4c61220

Browse files
authored
Fix typo
1 parent 19ab0a1 commit 4c61220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ReferenceGuides/UnderscoredAttributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ even when `Self` is a reference type.
251251
```swift
252252
class C {
253253
func f() {}
254-
func g(_: @escaping () -> Void {
254+
func g(_: @escaping () -> Void) {
255255
g({ f() }) // error: call to method 'f' in closure requires explicit use of 'self'
256256
}
257257
func h(@_implicitSelfCapture _: @escaping () -> Void) {

0 commit comments

Comments
 (0)