From: cui fliter Date: Mon, 1 May 2023 04:41:56 +0000 (+0800) Subject: runtime: fix comment typo in page allocator X-Git-Tag: go1.21rc1~731 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=80d64adb7950d09371a351bbd3a23facc2cfe5cf;p=gostls13.git runtime: fix comment typo in page allocator A commit looks to have some minor bug that makes comments look confusing. The commit in question: https://go-review.googlesource.com/c/go/+/250517 Change-Id: I7859587be15a22f8330d6ad476058f74ca2ca6ab Reviewed-on: https://go-review.googlesource.com/c/go/+/490795 Run-TryBot: shuang cui Reviewed-by: Michael Knyszek Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Pratt TryBot-Result: Gopher Robot --- diff --git a/src/runtime/mpagealloc_64bit.go b/src/runtime/mpagealloc_64bit.go index 0ebeafad61..1418831a50 100644 --- a/src/runtime/mpagealloc_64bit.go +++ b/src/runtime/mpagealloc_64bit.go @@ -90,7 +90,7 @@ func (p *pageAlloc) sysInit(test bool) { // sysGrow performs architecture-dependent operations on heap // growth for the page allocator, such as mapping in new memory // for summaries. It also updates the length of the slices in -// [.summary. +// p.summary. // // base is the base of the newly-added heap memory and limit is // the first address past the end of the newly-added heap memory.