summaryrefslogtreecommitdiff
path: root/exercises/096_memory_allocation.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2024-05-06 07:25:18 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2024-05-06 07:25:18 +0000
commit8345e839b09bd12947f547598fe9790859736023 (patch)
tree9c6010e10ad6542366315864d0b5f645b6d5dbe4 /exercises/096_memory_allocation.zig
parent1ac46d7a42ae90006c99f9c4a9bfdb435de30cac (diff)
parent6c23f2682e08b8c24bca33a18dc1d9770259a061 (diff)
Merge pull request 'Fix some typos' (#89) from typos into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/89
Diffstat (limited to 'exercises/096_memory_allocation.zig')
-rw-r--r--exercises/096_memory_allocation.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/096_memory_allocation.zig b/exercises/096_memory_allocation.zig
index 1ece922..58de7b0 100644
--- a/exercises/096_memory_allocation.zig
+++ b/exercises/096_memory_allocation.zig
@@ -30,9 +30,9 @@
// std.debug.print("slice_ptr={*}\n", .{slice_ptr});
// }
-// Instead of a simple integer or a constant sized slice, this
-// program requires a slice to be allocated that is the same size as
-// an input array.
+// Instead of a simple integer or a slice with a constant size,
+// this program requires allocating a slice that is the same size
+// as an input array.
// Given a series of numbers, take the running average. In other
// words, each item N should contain the average of the last N