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

@ -8,13 +8,13 @@
//
const std = @import("std");
const MyNumberError = error{ TooSmall };
const MyNumberError = error{TooSmall};
pub fn main() void {
var a: u32 = addTwenty(44) catch 22;
var b: u32 = addTwenty(4) ??? 22;
var b: u32 = addTwenty(4) ??? 22;
std.debug.print("a={}, b={}", .{a,b});
std.debug.print("a={}, b={}", .{ a, b });
}
// Please provide the return type from this function.