Skip to content

Commit 3013195

Browse files
author
Draven
committed
runtime: fix the comment in mcentral.cacheSpan
1 parent 90c71ce commit 3013195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/mcentral.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ retry:
8484
goto havespan
8585
}
8686
lock(&c.lock)
87-
// the span is still empty after sweep
87+
// the span is still not empty after sweep
8888
// it is already in the empty list, so just retry
8989
goto retry
9090
}

0 commit comments

Comments
 (0)