Skip to content

Commit 2ec07ce

Browse files
committed
Fix arrow character
Kotlin doesn't support Unicode arrow characters
1 parent 8b0d3de commit 2ec07ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/KEEP-0439-named-only-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ When the last function argument is of a functional type, it's also possible to u
9292
When a function is called with multiple lambda arguments, the correspondence of arguments to parameters can also be ambiguous.
9393
The most notable examples are:
9494

95-
* `fun Result.process(onSuccess: () Unit, onError: () Unit)`
95+
* `fun Result.process(onSuccess: () -> Unit, onError: () -> Unit)`
9696
* `fun <T, K, V> Array<out T>.groupBy(keySelector: (T) -> K, valueTransform: (T) -> V)`
9797
* `fun <C> Either<C>.fold(ifLeft: (left: A) -> C, ifRight: (right: B) -> C): C`
9898

0 commit comments

Comments
 (0)