diff options
Diffstat (limited to 'src/sync')
| -rw-r--r-- | src/sync/atomic/type.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/atomic/type.go b/src/sync/atomic/type.go index 40a29fed8c..4a74150b41 100644 --- a/src/sync/atomic/type.go +++ b/src/sync/atomic/type.go @@ -232,7 +232,7 @@ func (x *Uintptr) Add(delta uintptr) (new uintptr) { return AddUintptr(&x.v, del func (x *Uintptr) And(mask uintptr) (old uintptr) { return AndUintptr(&x.v, mask) } // Or atomically performs a bitwise OR operation on x using the bitmask -// provided as mask and returns the updated value after the OR operation. +// provided as mask and returns the old value. func (x *Uintptr) Or(mask uintptr) (old uintptr) { return OrUintptr(&x.v, mask) } // noCopy may be added to structs which must not be copied |
