]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: gofmt -w -s
authorhopehook <hopehook.com@gmail.com>
Wed, 17 Aug 2022 09:11:13 +0000 (17:11 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 17 Aug 2022 23:18:24 +0000 (23:18 +0000)
Change-Id: I1226ff66fd0c64984939793eb8ef96c08d030fa1
Reviewed-on: https://go-review.googlesource.com/c/go/+/424399
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: hopehook <hopehook@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/runtime/mbitmap.go

index d45494992627611583583c61f089acc9b76e37da..1050a60468f2a1db43444bd021b1600cfec5a949 100644 (file)
@@ -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