diff options
author | Russ Cox <rsc@golang.org> | 2015-08-06 16:05:56 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2015-08-06 20:37:38 +0000 |
commit | 4b145d42e9bb7a1474091b21cf897e28e7b15ef0 (patch) | |
tree | 5d8e9a9b081ec29ece1d968c64ff6bff37a1581d | |
parent | ad731887a76e4bd5060a212002091ece3740068d (diff) | |
download | go-4b145d42e9bb7a1474091b21cf897e28e7b15ef0.tar.gz go-4b145d42e9bb7a1474091b21cf897e28e7b15ef0.zip |
doc: do not call WaitGroup a function
Fixes #12060.
Change-Id: Ie2fd10bedded1a4f4e0daa0c0c77ecd898480767
Reviewed-on: https://go-review.googlesource.com/13324
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | doc/go1.5.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.5.html b/doc/go1.5.html index 5f6e5f7b91..376eb933cc 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -1244,11 +1244,11 @@ but is otherwise unnecessary as strings support comparison natively. </li> <li> -The <a href="/pkg/sync/#WaitGroup"><code>WaitGroup</code></a> function in +The <a href="/pkg/sync/#WaitGroup"><code>WaitGroup</code></a> implementation in package <a href="/pkg/sync/"><code>sync</code></a> now diagnoses code that races a call to <a href="/pkg/sync/#WaitGroup.Add"><code>Add</code></a> against a return from <a href="/pkg/sync/#WaitGroup.Wait"><code>Wait</code></a>. -If it detects this condition, <code>WaitGroup</code> panics. +If it detects this condition, the implementation panics. </li> <li> |