|
@@ -21,9 +21,10 @@
|
|
//
|
|
//
|
|
const std = @import("std");
|
|
const std = @import("std");
|
|
|
|
|
|
-pub fn main() void {
|
|
|
|
- const a: u8 = 12;
|
|
|
|
- const b: *u8 = &a; // fix this!
|
|
|
|
-
|
|
|
|
- std.debug.print("a: {}, b: {}\n", .{ a, b.* });
|
|
|
|
|
|
+pub fn main() void{
|
|
|
|
+ const a: u8 = 12;
|
|
|
|
+ const b: *const u8 = &a; // fix this!
|
|
|
|
+
|
|
|
|
+ std.debug.print("a: {}, b: {}\n", .{ a, b.* });
|
|
}
|
|
}
|
|
|
|
+
|