File tree 2 files changed +3
-2
lines changed
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>
71
71
Robert Russell <robert at rrbrussell.com>
72
72
Runrioter Wung <runrioter at gmail.com>
73
73
Shuode Li <elemount at qq.com>
74
+ Simon J Mudd <sjmudd at pobox.com>
74
75
Soroush Pour <me at soroushjp.com>
75
76
Stan Putrya <root.vagner at gmail.com>
76
77
Stanley Gunawan <gunawan.stanley at gmail.com>
Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ type atomicBool struct {
684
684
value uint32
685
685
}
686
686
687
- // IsSet returns wether the current boolean value is true
687
+ // IsSet returns whether the current boolean value is true
688
688
func (ab * atomicBool ) IsSet () bool {
689
689
return atomic .LoadUint32 (& ab .value ) > 0
690
690
}
@@ -698,7 +698,7 @@ func (ab *atomicBool) Set(value bool) {
698
698
}
699
699
}
700
700
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
702
702
func (ab * atomicBool ) TrySet (value bool ) bool {
703
703
if value {
704
704
return atomic .SwapUint32 (& ab .value , 1 ) == 0
You can’t perform that action at this time.
0 commit comments