diff --git a/src/09-concurrency-practice/74-copying-sync/main.go b/src/09-concurrency-practice/74-copying-sync/main.go index 0a32b017..b9e5f122 100644 --- a/src/09-concurrency-practice/74-copying-sync/main.go +++ b/src/09-concurrency-practice/74-copying-sync/main.go @@ -19,7 +19,7 @@ func main() { } type Counter struct { - mu sync.Mutex + mu sync.Mutex // bad counters map[string]int } @@ -38,7 +38,7 @@ func (c *Counter) Increment2(name string) { } type Counter2 struct { - mu *sync.Mutex + mu *sync.Mutex // good counters map[string]int }