We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9955f0 commit 772f024Copy full SHA for 772f024
src/weak/pointer.go
@@ -52,7 +52,7 @@ import (
52
// nil, even after an object is no longer referenced, the runtime is allowed to
53
// perform a space-saving optimization that batches objects together in a single
54
// allocation slot. The weak pointer for an unreferenced object in such an
55
-// 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
56
// referenced object. Typically, this batching only happens for tiny
57
// (on the order of 16 bytes or less) and pointer-free objects.
58
type Pointer[T any] struct {
0 commit comments