mirror of
https://github.com/golang/go
synced 2024-11-21 18:54:43 -07:00
go spec: fix wrong comment
Fixes #743. R=r, rsc CC=golang-dev https://golang.org/cl/944044
This commit is contained in:
parent
a82349614b
commit
f5b3c14f31
@ -1749,7 +1749,7 @@ func (m *Mutex) Unlock() { /* Unlock implementation */ }
|
|||||||
// NewMutex has the same composition as Mutex but its method set is empty.
|
// NewMutex has the same composition as Mutex but its method set is empty.
|
||||||
type NewMutex Mutex
|
type NewMutex Mutex
|
||||||
|
|
||||||
// PrintableMutex's method set contains the methods
|
// The method set of *PrintableMutex contains the methods
|
||||||
// Lock and Unlock bound to its anonymous field Mutex.
|
// Lock and Unlock bound to its anonymous field Mutex.
|
||||||
type PrintableMutex struct {
|
type PrintableMutex struct {
|
||||||
Mutex
|
Mutex
|
||||||
|
Loading…
Reference in New Issue
Block a user