pointers exercises done

This commit is contained in:
2026-06-06 23:27:39 +02:00
parent a5bbd016eb
commit 28a82c5c08
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -37,5 +37,5 @@ pub fn main() void {
// This function should take a reference to a u8 value and set it
// to 5.
fn makeFive(x: *u8) void {
??? = 5; // fix me!
x.* = 5; // fix me!
}