mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
Merge branch 'main' of github.com:ratfactor/ziglings into main
This commit is contained in:
commit
b793c0bcc8
2 changed files with 2 additions and 2 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;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
// *************************************************************
|
// *************************************************************
|
||||||
// * A NOTE ABOUT THIS EXERCISE *
|
// * A NOTE ABOUT THIS EXERCISE *
|
||||||
// * *
|
// * *
|
||||||
// * You do NOT have to read an understand every bit of this *
|
// * You do NOT have to read and understand every bit of this *
|
||||||
// * program. This is a very big example. Feel free to skim *
|
// * program. This is a very big example. Feel free to skim *
|
||||||
// * through it and then just focus on the few parts that are *
|
// * through it and then just focus on the few parts that are *
|
||||||
// * actually broken! *
|
// * actually broken! *
|
||||||
|
|
Loading…
Reference in a new issue