mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix misprints in comments
These were found by grepping the comments from the go code and feeding the output to aspell. Change-Id: Id734d6c8d1938ec3c36bd94a4dbbad577e3ad395 Reviewed-on: https://go-review.googlesource.com/10941 Reviewed-by: Aamir Khan <syst3m.w0rm@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
15c8ab00e8
commit
7f9f70e5b6
47 changed files with 54 additions and 54 deletions
|
|
@ -83,7 +83,7 @@ func growslice(t *slicetype, old slice, n int) slice {
|
|||
memmove(p, old.array, lenmem)
|
||||
memclr(add(p, lenmem), capmem-lenmem)
|
||||
} else {
|
||||
// Note: can't use rawmem (which avoids zeroing of memory), because then GC can scan unitialized memory.
|
||||
// Note: can't use rawmem (which avoids zeroing of memory), because then GC can scan uninitialized memory.
|
||||
p = newarray(et, uintptr(newcap))
|
||||
if !writeBarrierEnabled {
|
||||
memmove(p, old.array, lenmem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue