From: hopehook Date: Wed, 17 Aug 2022 09:11:13 +0000 (+0800) Subject: runtime: gofmt -w -s X-Git-Tag: go1.20rc1~1574 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9709d92bfaab7a9fb5350c102f46c8c9758e615d;p=gostls13.git runtime: gofmt -w -s Change-Id: I1226ff66fd0c64984939793eb8ef96c08d030fa1 Reviewed-on: https://go-review.googlesource.com/c/go/+/424399 Reviewed-by: Robert Griesemer Reviewed-by: Michael Pratt Auto-Submit: Michael Pratt Run-TryBot: hopehook TryBot-Result: Gopher Robot --- diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index d454949926..1050a60468 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -477,12 +477,14 @@ func (h heapBits) next() (heapBits, uintptr) { // nextFast is like next, but can return 0 even when there are more pointers // to be found. Callers should call next if nextFast returns 0 as its second // return value. -// if addr, h = h.nextFast(); addr == 0 { -// if addr, h = h.next(); addr == 0 { -// ... no more pointers ... -// } -// } -// ... process pointer at addr ... +// +// if addr, h = h.nextFast(); addr == 0 { +// if addr, h = h.next(); addr == 0 { +// ... no more pointers ... +// } +// } +// ... process pointer at addr ... +// // nextFast is designed to be inlineable. // //go:nosplit