From: Russ Cox Date: Thu, 6 Aug 2015 20:05:56 +0000 (-0400) Subject: doc: do not call WaitGroup a function X-Git-Tag: go1.5~1^2~35 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4b145d42e9bb7a1474091b21cf897e28e7b15ef0;p=gostls13.git doc: do not call WaitGroup a function Fixes #12060. Change-Id: Ie2fd10bedded1a4f4e0daa0c0c77ecd898480767 Reviewed-on: https://go-review.googlesource.com/13324 Reviewed-by: Brad Fitzpatrick --- 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.
  • -The WaitGroup function in +The WaitGroup implementation in package sync now diagnoses code that races a call to Add against a return from Wait. -If it detects this condition, WaitGroup panics. +If it detects this condition, the implementation panics.