diff --git a/src/atomic.md b/src/atomic.md index 5a3bda3..9a72a8b 100644 --- a/src/atomic.md +++ b/src/atomic.md @@ -20,7 +20,7 @@ type foo struct { running int32 // atomic } -func (f* foo) start() { +func (f *foo) start() { if atomic.SwapInt32(&f.running, 1) == 1 { // already running… return diff --git a/style.md b/style.md index 9fef812..818eab6 100644 --- a/style.md +++ b/style.md @@ -1263,7 +1263,7 @@ type foo struct { running int32 // atomic } -func (f* foo) start() { +func (f *foo) start() { if atomic.SwapInt32(&f.running, 1) == 1 { // already running… return