mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 14:45:36 +00:00
Merge pull request '[Exercise 019] fix: typo in example function, missing return type' (#290) from imomaliev/ziglings:chore/fix-019-function-description into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/290
This commit is contained in:
commit
5b3b0eb26b
|
@ -3,7 +3,7 @@
|
||||||
// example that takes two parameters. As you can see, parameters
|
// example that takes two parameters. As you can see, parameters
|
||||||
// are declared just like any other types ("name": "type"):
|
// are declared just like any other types ("name": "type"):
|
||||||
//
|
//
|
||||||
// fn myFunction(number: u8, is_lucky: bool) {
|
// fn myFunction(number: u8, is_lucky: bool) void {
|
||||||
// ...
|
// ...
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user