From: Rob Pike Date: Fri, 20 Sep 2019 06:10:03 +0000 (+1000) Subject: doc: reword to avoid the confusing term 'anew' X-Git-Tag: go1.14beta1~1030 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bb0a8fd38f4b14f79b0da1cfe3e732f3bfb63a51;p=gostls13.git doc: reword to avoid the confusing term 'anew' Fixes #34415 Change-Id: I8eaa7606ae01e569a076cf7f3c28dbec2a153001 Reviewed-on: https://go-review.googlesource.com/c/go/+/196578 Reviewed-by: Emmanuel Odeke --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 158f39ebc8..be9b8aef9c 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -624,7 +624,7 @@ if it has already been declared, provided:
  • this declaration is in the same scope as the existing declaration of v (if v is already declared in an outer scope, the declaration will create a new variable §),
  • the corresponding value in the initialization is assignable to v, and
  • -
  • there is at least one other variable in the declaration that is being declared anew.
  • +
  • there is at least one other variable that is created by the declaration.