From 6ae7a4496ff30de9cf406806f049e8d9e6736990 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Mon, 3 May 2021 17:02:51 -0400 Subject: canna have two bars, cap'n --- exercises/052_slices.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises') 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 -- cgit v1.2.3-ZIG