aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2025-11-07 10:58:08 +0000
committerMichael Pratt <mpratt@google.com>2025-11-10 08:03:37 -0800
commit0fe6c8e8c878c44d4466f07ddd0a5b2cd07650c7 (patch)
tree6293fa136f56d392c3471ee058401b1eef2ff6cb /src/runtime
parent95a0e5adc1e6c27769591de1bfaf520a3265adda (diff)
downloadgo-0fe6c8e8c878c44d4466f07ddd0a5b2cd07650c7.tar.xz
runtime: tweak wording for comment of mcache.flushGen
Change-Id: I5f59b2a2d18a7657892ae4c042a1b013cf8f9736 GitHub-Last-Rev: d5b5bb3e19a131df64aa5df8a3d131fbc61fd151 GitHub-Pull-Request: golang/go#76215 Reviewed-on: https://go-review.googlesource.com/c/go/+/718461 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mcache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mcache.go b/src/runtime/mcache.go
index a1d04d2f8a..cade81031d 100644
--- a/src/runtime/mcache.go
+++ b/src/runtime/mcache.go
@@ -50,7 +50,7 @@ type mcache struct {
// flushGen indicates the sweepgen during which this mcache
// was last flushed. If flushGen != mheap_.sweepgen, the spans
- // in this mcache are stale and need to the flushed so they
+ // in this mcache are stale and need to be flushed so they
// can be swept. This is done in acquirep.
flushGen atomic.Uint32
}