From 4b145d42e9bb7a1474091b21cf897e28e7b15ef0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 6 Aug 2015 16:05:56 -0400 Subject: [PATCH] doc: do not call WaitGroup a function Fixes #12060. Change-Id: Ie2fd10bedded1a4f4e0daa0c0c77ecd898480767 Reviewed-on: https://go-review.googlesource.com/13324 Reviewed-by: Brad Fitzpatrick --- doc/go1.5.html | 4 ++-- 1 file 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.
  • -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.
  • -- 2.50.0