Skip to content

Commit 81531e7

Browse files
committed
FIX: Go fmt
FIX: Spelling mistake
1 parent 021f266 commit 81531e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

about_arrays.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ func aboutArrays() {
1515

1616
assert(fruits == [4]string{}) // comparing arrays is not like comparing apples and oranges
1717

18-
tasty_fruits := fruits[1:3] // defining oneself as a variation of another
19-
assert(fmt.Sprintf("%T", tasty_fruits) == __string__) //and get not a simeple array as a result
20-
assert(tasty_fruits[0] == __string__) // slices of arrays share some data
21-
assert(tasty_fruits[1] == __string__) // albeit slightly askewed
18+
tasty_fruits := fruits[1:3] // defining oneself as a variation of another
19+
assert(fmt.Sprintf("%T", tasty_fruits) == __string__) //and get not a simple array as a result
20+
assert(tasty_fruits[0] == __string__) // slices of arrays share some data
21+
assert(tasty_fruits[1] == __string__) // albeit slightly askewed
2222

2323
assert(len(tasty_fruits) == __int__) // its length is manifest
2424
assert(cap(tasty_fruits) == __int__) // but its capacity is surprising!

0 commit comments

Comments
 (0)