Skip to content

Commit bb2fc21

Browse files
lizzzcaibenshi001
authored andcommitted
runtime: fix typos in comments
Change-Id: Ia70e8bdc6d2cf1195d7a3b5d33f180ae2db73e29 Reviewed-on: https://go-review.googlesource.com/c/go/+/305369 Reviewed-by: Emmanuel Odeke <[email protected]> Reviewed-by: Ben Shi <[email protected]> Run-TryBot: Emmanuel Odeke <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 3394586 commit bb2fc21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/malloc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
933933
}
934934

935935
if inittrace.active && inittrace.id == getg().goid {
936-
// Init functions are executed sequentially in a single Go routine.
936+
// Init functions are executed sequentially in a single goroutine.
937937
inittrace.allocs += 1
938938
}
939939
}
@@ -1137,7 +1137,7 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
11371137
}
11381138

11391139
if inittrace.active && inittrace.id == getg().goid {
1140-
// Init functions are executed sequentially in a single Go routine.
1140+
// Init functions are executed sequentially in a single goroutine.
11411141
inittrace.bytes += uint64(size)
11421142
}
11431143
}

0 commit comments

Comments
 (0)