aboutsummaryrefslogtreecommitdiff
path: root/doc/go_mem.html
diff options
context:
space:
mode:
authorJeremy Jackins <jeremyjackins@gmail.com>2012-03-19 08:26:36 +1100
committerRob Pike <r@golang.org>2012-03-19 08:26:36 +1100
commit7e054266c94462be87277367ec59f1d27ed78ab0 (patch)
treee5ecb33537e3b14ca1dd44061737ecdbe7de2262 /doc/go_mem.html
parent6a0544091e04dc972069d6ce031f886a873daf32 (diff)
downloadgo-7e054266c94462be87277367ec59f1d27ed78ab0.tar.gz
go-7e054266c94462be87277367ec59f1d27ed78ab0.zip
doc: various typos, remove apostrophes from ordinals
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5845059
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r--doc/go_mem.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html
index d4f3656bf0..ece230638e 100644
--- a/doc/go_mem.html
+++ b/doc/go_mem.html
@@ -283,7 +283,7 @@ The <code>sync</code> package implements two lock data types,
<p class="rule">
For any <code>sync.Mutex</code> or <code>sync.RWMutex</code> variable <code>l</code> and <i>n</i> &lt; <i>m</i>,
-the <i>n</i>'th call to <code>l.Unlock()</code> happens before the <i>m</i>'th call to <code>l.Lock()</code> returns.
+call <i>n</i> of <code>l.Unlock()</code> happens before call <i>m</i> of <code>l.Lock()</code> returns.
</p>
<p>
@@ -316,9 +316,9 @@ which happens before the <code>print</code>.
<p class="rule">
For any call to <code>l.RLock</code> on a <code>sync.RWMutex</code> variable <code>l</code>,
-there is an <i>n</i> such that the <code>l.RLock</code> happens (returns) after the <i>n</i>'th call to
+there is an <i>n</i> such that the <code>l.RLock</code> happens (returns) after call <i>n</i> to
<code>l.Unlock</code> and the matching <code>l.RUnlock</code> happens
-before the <i>n</i>+1'th call to <code>l.Lock</code>.
+before call <i>n</i>+1 to <code>l.Lock</code>.
</p>
<h3>Once</h3>