fix: typos in 04-slices-vs-arrays-unique-nums

This commit is contained in:
Inanc Gumus
2019-01-25 14:14:25 +03:00
parent 78de9b20d7
commit 5d9bf4195d

View File

@ -36,10 +36,10 @@ loop:
} }
} }
// append can add new elements the slice // append function can add new elements to a slice
uniques = append(uniques, n) uniques = append(uniques, n)
// a slice doesn't contain any elements from the beginning // a slice doesn't contain any elements right from the start
// uniques[found] = n // uniques[found] = n
// found++ // found++
} }