Apply zig fmt to exercises

This commit is contained in:
Will Clardy
2021-02-15 16:55:44 -05:00
parent 97ae27435b
commit 238beb4a2d
37 changed files with 152 additions and 144 deletions

View File

@@ -6,7 +6,7 @@
//
// var foo: u8 = 5;
// const bar: u8 = 5;
//
//
// Then:
//
// &foo is of type "*u8"
@@ -23,5 +23,5 @@ pub fn main() void {
const a: u8 = 12;
const b: *u8 = &a; // fix this!
std.debug.print("a: {}, b: {}\n", .{a, b.*});
std.debug.print("a: {}, b: {}\n", .{ a, b.* });
}