From 3fb4f86a796927ca789ec45af5b57b5a7158b55d Mon Sep 17 00:00:00 2001 From: AminBhr <83537913+AminBhr@users.noreply.github.com> Date: Sun, 22 Aug 2021 14:46:26 +0430 Subject: [PATCH] Update: change the solution to follow instrucion Step 7 of the exercise instruction wants us to "slice only the first 1000 elements of the array", not slicing after the first 1000 elements of the array. --- 16-slices/exercises/18-internals-slice-header/solution/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/16-slices/exercises/18-internals-slice-header/solution/main.go b/16-slices/exercises/18-internals-slice-header/solution/main.go index b86580e..f35a0ad 100644 --- a/16-slices/exercises/18-internals-slice-header/solution/main.go +++ b/16-slices/exercises/18-internals-slice-header/solution/main.go @@ -31,7 +31,7 @@ func main() { passArray(array) slice1 := array[:] - slice2 := array[1e3:] + slice2 := array[:1e3] slice3 := array[1e3:1e4] report("after slicings")