From 80d64adb7950d09371a351bbd3a23facc2cfe5cf Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 1 May 2023 12:41:56 +0800 Subject: [PATCH] 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 --- src/runtime/mpagealloc_64bit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.48.1