Apply zig fmt to exercises

This commit is contained in:
Will Clardy 2021-02-15 16:55:44 -05:00
parent e58f155bd6
commit 2f821bd5e8
37 changed files with 152 additions and 144 deletions

View file

@ -7,7 +7,7 @@
//
const std = @import("std");
const NumError = error{ IllegalNumber };
const NumError = error{IllegalNumber};
pub fn main() void {
const stdout = std.io.getStdOut().writer();
@ -19,6 +19,6 @@ pub fn main() void {
// Just don't modify this function. It's "perfect" the way it is. :-)
fn getNumber() NumError!u32 {
if( false ) return NumError.IllegalNumber;
if (false) return NumError.IllegalNumber;
return 42;
}