mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-11-05 05:05:36 +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
|
||||
// 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