diff options
| author | Ainar Garipov <gugl.zadolbal@gmail.com> | 2015-06-11 16:49:38 +0300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-06-11 14:18:57 +0000 |
| commit | 7f9f70e5b65d116539b5c6ee586ea12988682a4f (patch) | |
| tree | e5790f78d97cd92a1642ceea499f4bdc963fa49d /src/runtime/slice.go | |
| parent | 15c8ab00e88419b584eefd38ec6ddcdbea3e488c (diff) | |
| download | go-7f9f70e5b65d116539b5c6ee586ea12988682a4f.tar.xz | |
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>
Diffstat (limited to 'src/runtime/slice.go')
| -rw-r--r-- | src/runtime/slice.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/slice.go b/src/runtime/slice.go index 79b611839d..15820a5181 100644 --- a/src/runtime/slice.go +++ b/src/runtime/slice.go @@ -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) |
