aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/slices/slices2
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/slices/slices2')
-rw-r--r--exercises/slices/slices2/main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/exercises/slices/slices2/main.go b/exercises/slices/slices2/main.go
index 54595ff..7ec586b 100644
--- a/exercises/slices/slices2/main.go
+++ b/exercises/slices/slices2/main.go
@@ -7,7 +7,6 @@ package main
import "fmt"
func main() {
- names := [4]string{"John", "Maria", "Carl", "Peter"}
- lastTwoNames := names[] // after figuring out the answer, try with other low/high bounds
- fmt.Println(lastTwoNames)
+ names := [4]string{"John", "Maria", "Carl", 10}
+ fmt.Println(names)
}