diff options
author | Robert Griesemer <gri@golang.org> | 2010-11-02 16:01:07 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-11-02 16:01:07 -0700 |
commit | 417e22b58484a93cc5cd8191af918cac52fd0d77 (patch) | |
tree | 308baa7e43777ea9364c5f9f198de240be534f1d | |
parent | 95b40f6ca16d0fefc0996060fd91acdd34aba317 (diff) | |
download | go-417e22b58484a93cc5cd8191af918cac52fd0d77.tar.gz go-417e22b58484a93cc5cd8191af918cac52fd0d77.zip |
sync: fix typo in documentation
R=rsc, adg
CC=golang-dev
https://golang.org/cl/2841041
-rw-r--r-- | src/pkg/sync/rwmutex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/sync/rwmutex.go b/src/pkg/sync/rwmutex.go index 0058cf2525..06fd0b0ffb 100644 --- a/src/pkg/sync/rwmutex.go +++ b/src/pkg/sync/rwmutex.go @@ -21,7 +21,7 @@ type RWMutex struct { // RLock locks rw for reading. // If the lock is already locked for writing or there is a writer already waiting -// to r the lock, RLock blocks until the writer has released the lock. +// to release the lock, RLock blocks until the writer has released the lock. func (rw *RWMutex) RLock() { // Use rw.r.Lock() to block granting the RLock if a goroutine // is waiting for its Lock. This is the prevent starvation of W in |