diff options
Diffstat (limited to 'src/sync')
| -rw-r--r-- | src/sync/rwmutex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/rwmutex.go b/src/sync/rwmutex.go index 66cb93c44e..1d5b8fde4a 100644 --- a/src/sync/rwmutex.go +++ b/src/sync/rwmutex.go @@ -234,7 +234,7 @@ func syscall_hasWaitingReaders(rw *RWMutex) bool { } // RLocker returns a [Locker] interface that implements -// the [RWMutex.Lock] and [RWMutex.Unlock] methods by calling rw.RLock and rw.RUnlock. +// the [Locker.Lock] and [Locker.Unlock] methods by calling rw.RLock and rw.RUnlock. func (rw *RWMutex) RLocker() Locker { return (*rlocker)(rw) } |
