Skip to content

Commit 8e15e4e

Browse files
committed
Fix typo in 3.0 currying proposal
1 parent 8b7bf95 commit 8e15e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0002-remove-currying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ can be transformed to explicitly return a closure instead:
5959

6060
// After:
6161
func curried(x: Int) -> (String) -> Float {
62-
return {(y: String -> Float in
62+
return {(y: String -> Float) in
6363
return Float(x) + Float(y)!
6464
}
6565
}

0 commit comments

Comments
 (0)