Matt Bolt 5 лет назад
Родитель
Сommit
23ee528893
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      pkg/util/atomic.go

+ 2 - 2
pkg/util/atomic.go

@@ -11,12 +11,12 @@ func NewAtomicInt32(value int32) *AtomicInt32 {
 	return ai
 }
 
-// Loads the bool value atomically
+// Loads the int32 value atomically
 func (ai *AtomicInt32) Get() int32 {
 	return atomic.LoadInt32((*int32)(ai))
 }
 
-// Sets the bool value atomically
+// Sets the int32 value atomically
 func (ai *AtomicInt32) Set(value int32) {
 	atomic.StoreInt32((*int32)(ai), value)
 }