Browse Source

fix typo (#761)

ssp 7 years ago
parent
commit
5890359fb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils.go

+ 1 - 1
utils.go

@@ -800,7 +800,7 @@ func (ab *atomicBool) TrySet(value bool) bool {
 	return atomic.SwapUint32(&ab.value, 0) > 0
 }
 
-// atomicBool is a wrapper for atomically accessed error values
+// atomicError is a wrapper for atomically accessed error values
 type atomicError struct {
 	_noCopy noCopy
 	value   atomic.Value