From 5257941f40554da3f8df074443a4c087dcff7004 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 10 Dec 2022 23:02:40 +0000 Subject: 25-60 complete --- exercises/042_pointers4.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/042_pointers4.zig') diff --git a/exercises/042_pointers4.zig b/exercises/042_pointers4.zig index 359a2f1..1210095 100644 --- a/exercises/042_pointers4.zig +++ b/exercises/042_pointers4.zig @@ -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! } -- cgit v1.2.3-ZIG