summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/096_memory_allocation.zig
diff options
context:
space:
mode:
authorKim SHrier <gitkim@westryn.net>2023-05-07 03:08:03 -0600
committerKim SHrier <gitkim@westryn.net>2023-05-07 03:08:03 -0600
commitb072c0014cf2c4bbda6e2b06e72626f65dfec883 (patch)
tree3c65cba11998433aa11698238e7a49bccd9b4a01 /exercises/096_memory_allocation.zig
parenta446d67992d6035cc6c1fba9d019e9d67f84a79c (diff)
Fix reference to slice_ptr in example code
Diffstat (limited to 'exercises/096_memory_allocation.zig')
-rw-r--r--exercises/096_memory_allocation.zig2
1 files changed, 1 insertions, 1 deletions
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