Skip to content

Commit e0155cf

Browse files
committed
fix(notes): more proofreading
1 parent caa814e commit e0155cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/notes/2026-01-07-cobblemon-shiny-rates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ event.addModificationFunction { chance, player, pokemon ->
8080
```
8181

8282
> [!hint] Kotlin specific
83-
> The absence of parentheses in function call is Kotlin syntactic sugar - in this case we only pass callable function as sole argument
83+
> The absence of parentheses in `addModificationFunction` function call is Kotlin syntactic sugar - in this case we only pass callable function as sole argument
84+
>
8485
> The `return@addModificationFunction` is *specific to Kotlin* because we can explicitly tell Kotlin which function we want to return from.
8586
8687

0 commit comments

Comments
 (0)