mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Update 018_functions.zig
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Functions! We've already created lots of functions called "main()". Now let's
|
// Functions! We've already created lots of functions called "main()". Now let's
|
||||||
// try writing one of our own:
|
// do something different:
|
||||||
//
|
//
|
||||||
// fn foo(n: u8) u8 {
|
// fn foo(n: u8) u8 {
|
||||||
// return n + 1;
|
// return n + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user