Skip to content

Commit 80d64ad

Browse files
cuishuanggopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 73a4684 commit 80d64ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/mpagealloc_64bit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (p *pageAlloc) sysInit(test bool) {
9090
// sysGrow performs architecture-dependent operations on heap
9191
// growth for the page allocator, such as mapping in new memory
9292
// for summaries. It also updates the length of the slices in
93-
// [.summary.
93+
// p.summary.
9494
//
9595
// base is the base of the newly-added heap memory and limit is
9696
// the first address past the end of the newly-added heap memory.

0 commit comments

Comments
 (0)