aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgcstack.go
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2019-02-22 15:53:52 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-02-26 23:02:05 +0000
commitd090429ea9af7cc2958fd95460196b02212c2b62 (patch)
tree7012d24ab7187e9e629288a21096da3ab07cfeac /src/runtime/mgcstack.go
parent337662f7caef76abd0122edffdc1f7f8102f19f8 (diff)
downloadgo-d090429ea9af7cc2958fd95460196b02212c2b62.tar.xz
all: fix typos as reported by 'misspell'
Change-Id: I904b8655f21743189814bccf24073b6fbb9fc56d GitHub-Last-Rev: b032c14394c949f9ad7b18d019a3979d38d4e1fb GitHub-Pull-Request: golang/go#29997 Reviewed-on: https://go-review.googlesource.com/c/160421 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/mgcstack.go')
-rw-r--r--src/runtime/mgcstack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mgcstack.go b/src/runtime/mgcstack.go
index 86e60d4381..baeaa4fd55 100644
--- a/src/runtime/mgcstack.go
+++ b/src/runtime/mgcstack.go
@@ -274,7 +274,7 @@ func (s *stackScanState) addObject(addr uintptr, typ *_type) {
obj.off = uint32(addr - s.stack.lo)
obj.size = uint32(typ.size)
obj.setType(typ)
- // obj.left and obj.right will be initalized by buildIndex before use.
+ // obj.left and obj.right will be initialized by buildIndex before use.
s.nobjs++
}