Fix typo in a comment

This was suggeste in #477 by @mnm364

Fixes #477
This commit is contained in:
Eli Bendersky
2023-06-05 05:48:59 -07:00
parent 6bd7615366
commit ef81b2a729
3 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ func main() {
// By default a new slice's capacity is equal to its
// length; if we know the slice is going to grow ahead
// of time, it's possible to pass a capacity explicitly
// as an additional parameter ot `make`.
// as an additional parameter to `make`.
s = make([]string, 3)
fmt.Println("emp:", s, "len:", len(s), "cap:", cap(s))

View File

@@ -1,2 +1,2 @@
cbb10033e4e5d2f26e4b57895313a907072a75d9
bqMChdRGpcl
9f1302a9c3cf79e5144c4818ea09465ff8d6da57
553_cYPVlPH