aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
Diffstat (limited to 'exercises')
-rw-r--r--exercises/052_slices.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/052_slices.zig b/exercises/052_slices.zig
index 05abe8d..1810d6b 100644
--- a/exercises/052_slices.zig
+++ b/exercises/052_slices.zig
@@ -17,7 +17,7 @@
//
// const foo = digits[0..1]; // 0
// const bar = digits[3..9]; // 3 4 5 6 7 8
-// const bar = digits[5..9]; // 5 6 7 8
+// const baz = digits[5..9]; // 5 6 7 8
// const all = digits[0..]; // 0 1 2 3 4 5 6 7 8 9
//
// As you can see, a slice [x..y] starts with the index of the