From b072c0014cf2c4bbda6e2b06e72626f65dfec883 Mon Sep 17 00:00:00 2001 From: Kim SHrier Date: Sun, 7 May 2023 03:08:03 -0600 Subject: [PATCH] Fix reference to slice_ptr in example code --- exercises/096_memory_allocation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/096_memory_allocation.zig b/exercises/096_memory_allocation.zig index 4a89702..8e348be 100644 --- a/exercises/096_memory_allocation.zig +++ b/exercises/096_memory_allocation.zig @@ -27,7 +27,7 @@ // std.debug.print("ptr={*}\n", .{ptr}); // // const slice_ptr = try allocator.alloc(f64, 5); -// std.debug.print("ptr={*}\n", .{ptr}); +// std.debug.print("slice_ptr={*}\n", .{slice_ptr}); // } // Instead of an simple integer or a constant sized slice, this