Skip to content

Commit 9582abd

Browse files
thomasKalmarAlexanderPrendota
authored andcommitted
refactor: fix typo 02_Functions.md (Kotlin#62)
1 parent 3cc5b4f commit 9582abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/01_introduction/02_Functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fun main() {
3434
2. A function that takes a second [optional parameter with default value](https://kotlinlang.org/docs/reference/functions.html#default-arguments) `Info`. The return type is omitted, meaning that it's actually `Unit`.
3535
3. A function that returns an integer.
3636
4. A single-expression function that returns an integer (inferred).
37-
5. Calls the first function with the agrument `Hello`.
37+
5. Calls the first function with the argument `Hello`.
3838
6. Calls the function with two parameters, passing values for both of them.
3939
7. Calls the same function omitting the second one. The default value `Info` is used.
4040
8. Calls the same function using [named arguments](https://kotlinlang.org/docs/reference/functions.html#named-arguments) and changing the order of the arguments.

0 commit comments

Comments
 (0)