]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: tweak wording for comment of mcache.flushGen
authorJes Cok <xigua67damn@gmail.com>
Fri, 7 Nov 2025 10:58:08 +0000 (10:58 +0000)
committerMichael Pratt <mpratt@google.com>
Mon, 10 Nov 2025 16:03:37 +0000 (08:03 -0800)
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>
src/runtime/mcache.go

index a1d04d2f8a2e491e90ee317aa4ae7d2564e4619b..cade81031d04d93592d0015afaca497881fcf7f0 100644 (file)
@@ -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
 }