Apply zig fmt to exercises
This commit is contained in:
parent
e58f155bd6
commit
2f821bd5e8
37 changed files with 152 additions and 144 deletions
|
|
@ -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.* });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue