From 9709d92bfaab7a9fb5350c102f46c8c9758e615d Mon Sep 17 00:00:00 2001 From: hopehook Date: Wed, 17 Aug 2022 17:11:13 +0800 Subject: [PATCH] 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 --- src/runtime/mbitmap.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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 -- 2.50.0