Skip to content

Commit df0117e

Browse files
authored
[docs] Address typo in trailing closure education note
1 parent 4103cb8 commit df0117e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userdocs/diagnostics/trailing-closure-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func animate(
99
completion: (() -> Void)? = nil
1010
) { /* ... */ }
1111

12-
animate(withDuration: 0.3) /* `animate:` is unwritten. */ {
12+
animate(withDuration: 0.3) /* `animations:` is unwritten. */ {
1313
// Animate something.
1414
} completion: {
1515
// Completion handler.

0 commit comments

Comments
 (0)