mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 22:55:38 +00:00
fix: 019 typo in example function, missing return type
This commit is contained in:
parent
82d8f06ffa
commit
06e56be9c5
|
@ -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