mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-01 16:03:31 +02:00
progress
This commit is contained in:
@@ -23,7 +23,7 @@ const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
const a: u8 = 12;
|
||||
const b: *u8 = &a; // fix this!
|
||||
const b: *const u8 = &a; // fix this!
|
||||
|
||||
std.debug.print("a: {}, b: {}\n", .{ a, b.* });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user