From a88bdab23798f57ea5255db2c1c27d850a7426eb Mon Sep 17 00:00:00 2001 From: gukq Date: Thu, 6 Sep 2018 17:24:34 +0800 Subject: [PATCH] Just repair spelling mistake Signed-off-by: gukq --- sweeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweeper.go b/sweeper.go index afd58b7..21ecf31 100644 --- a/sweeper.go +++ b/sweeper.go @@ -128,7 +128,7 @@ func (sw *sweeper) update() { // Remove the snapshot total, it'll get added back on // registration. // - // `^uint64(total - 1)` is the two's compliment of + // `^uint64(total - 1)` is the two's complement of // `total`. It's the "correct" way to subtract // atomically in go. atomic.AddUint64(&m.accumulator, ^uint64(m.snapshot.Total-1))