aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-03 17:02:51 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-03 17:02:51 -0400
commit6ae7a4496ff30de9cf406806f049e8d9e6736990 (patch)
tree0543180666b9d63a57dc6315d271f199eb5eb005
parentd4816adcb13a03a09141c73a35d01d1083eb7ca9 (diff)
downloadziglings-6ae7a4496ff30de9cf406806f049e8d9e6736990.tar.gz
ziglings-6ae7a4496ff30de9cf406806f049e8d9e6736990.tar.bz2
ziglings-6ae7a4496ff30de9cf406806f049e8d9e6736990.tar.xz
ziglings-6ae7a4496ff30de9cf406806f049e8d9e6736990.zip
canna have two bars, cap'n
-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