~tieong/ziglings

8c264bcaeff7f31552b1bfebd0ba6ed34302068b — Dave Gauer 2 years ago 86e017e + bc402e8
Merge pull request #78 from aedrax/patch-1

Update 034_quiz4.zig
1 files changed, 1 insertions(+), 1 deletions(-)

M exercises/034_quiz4.zig
M exercises/034_quiz4.zig => exercises/034_quiz4.zig +1 -1
@@ 17,7 17,7 @@ pub fn main() void {
    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 {
    if (false) return NumError.IllegalNumber;
    return 42;