File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Richard Wilkes <wilkes at me.com>
7171Robert Russell <robert at rrbrussell.com>
7272Runrioter Wung <runrioter at gmail.com>
7373Shuode Li <elemount at qq.com>
74+ Simon J Mudd <sjmudd at pobox.com>
7475Soroush Pour <me at soroushjp.com>
7576Stan Putrya <root.vagner at gmail.com>
7677Stanley Gunawan <gunawan.stanley at gmail.com>
Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ type atomicBool struct {
684684 value uint32
685685}
686686
687- // IsSet returns wether the current boolean value is true
687+ // IsSet returns whether the current boolean value is true
688688func (ab * atomicBool ) IsSet () bool {
689689 return atomic .LoadUint32 (& ab .value ) > 0
690690}
@@ -698,7 +698,7 @@ func (ab *atomicBool) Set(value bool) {
698698 }
699699}
700700
701- // TrySet sets the value of the bool and returns wether the value changed
701+ // TrySet sets the value of the bool and returns whether the value changed
702702func (ab * atomicBool ) TrySet (value bool ) bool {
703703 if value {
704704 return atomic .SwapUint32 (& ab .value , 1 ) == 0
You can’t perform that action at this time.
0 commit comments