aboutsummaryrefslogtreecommitdiff
path: root/src/weak/pointer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/weak/pointer.go')
-rw-r--r--src/weak/pointer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weak/pointer.go b/src/weak/pointer.go
index d8be409349..50af0c2fdc 100644
--- a/src/weak/pointer.go
+++ b/src/weak/pointer.go
@@ -52,7 +52,7 @@ import (
// nil, even after an object is no longer referenced, the runtime is allowed to
// perform a space-saving optimization that batches objects together in a single
// allocation slot. The weak pointer for an unreferenced object in such an
-// allocation may never be called if it always exists in the same batch as a
+// allocation may never become nil if it always exists in the same batch as a
// referenced object. Typically, this batching only happens for tiny
// (on the order of 16 bytes or less) and pointer-free objects.
type Pointer[T any] struct {