mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 15:59:59 +00:00
Apply zig fmt to exercises
This commit is contained in:
@@ -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.* });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user