Skip to content

Commit

Permalink
Merge pull request #3 from KerwinKoo/master
Browse files Browse the repository at this point in the history
Just repair spelling mistake
  • Loading branch information
Stebalien authored Sep 6, 2018
2 parents 3b3bcfc + a88bdab commit 7e5a55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7e5a55a

Please sign in to comment.