From: Robert Griesemer Date: Tue, 2 Nov 2010 23:01:07 +0000 (-0700) Subject: sync: fix typo in documentation X-Git-Tag: weekly.2010-11-02~1 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=417e22b58484a93cc5cd8191af918cac52fd0d77;p=gostls13.git sync: fix typo in documentation R=rsc, adg CC=golang-dev https://golang.org/cl/2841041 --- 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