mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-01 16:03:31 +02: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