From 8f106318d0e2d36625866239217a458919ef4a72 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Mon, 19 Nov 2018 22:31:28 +0100 Subject: [PATCH 1/2] Fix typo (wether -> whether) --- utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.go b/utils.go index cb3650bb9..201691fe8 100644 --- a/utils.go +++ b/utils.go @@ -684,7 +684,7 @@ type atomicBool struct { value uint32 } -// IsSet returns wether the current boolean value is true +// IsSet returns whether the current boolean value is true func (ab *atomicBool) IsSet() bool { return atomic.LoadUint32(&ab.value) > 0 } @@ -698,7 +698,7 @@ func (ab *atomicBool) Set(value bool) { } } -// TrySet sets the value of the bool and returns wether the value changed +// TrySet sets the value of the bool and returns whether the value changed func (ab *atomicBool) TrySet(value bool) bool { if value { return atomic.SwapUint32(&ab.value, 1) == 0 From d9af14447005dc3194e59d9dc612b0d5e238f2c9 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Mon, 19 Nov 2018 22:35:14 +0100 Subject: [PATCH 2/2] Add myself to AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 5ce4f7eca..41f14f209 100644 --- a/AUTHORS +++ b/AUTHORS @@ -70,6 +70,7 @@ Richard Wilkes Robert Russell Runrioter Wung Shuode Li +Simon J Mudd Soroush Pour Stan Putrya Stanley Gunawan