mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
parent
86e017eb32
commit
bc402e8eb1
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ pub fn main() void {
|
||||||
try stdout.print("my_num={}\n", .{my_num});
|
try stdout.print("my_num={}\n", .{my_num});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just don't modify this function. It's "perfect" the way it is. :-)
|
// This function is obviously weird and non-functional. But you will not be changing it for this quiz.
|
||||||
fn getNumber() NumError!u32 {
|
fn getNumber() NumError!u32 {
|
||||||
if (false) return NumError.IllegalNumber;
|
if (false) return NumError.IllegalNumber;
|
||||||
return 42;
|
return 42;
|
||||||
|
|
Loading…
Reference in a new issue