Matt Bolt 5 سال پیش
والد
کامیت
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)
 }