]> Cypherpunks repositories - gostls13.git/commitdiff
doc: reword to avoid the confusing term 'anew'
authorRob Pike <r@golang.org>
Fri, 20 Sep 2019 06:10:03 +0000 (16:10 +1000)
committerRob Pike <r@golang.org>
Fri, 20 Sep 2019 08:06:51 +0000 (08:06 +0000)
Fixes #34415

Change-Id: I8eaa7606ae01e569a076cf7f3c28dbec2a153001
Reviewed-on: https://go-review.googlesource.com/c/go/+/196578
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
doc/effective_go.html

index 158f39ebc894fcdb9a11995c1a4c2d69723fae68..be9b8aef9cdf7bba997f7bd0412c9b3f07688a3a 100644 (file)
@@ -624,7 +624,7 @@ if it has already been declared, provided:
 <li>this declaration is in the same scope as the existing declaration of <code>v</code>
 (if <code>v</code> is already declared in an outer scope, the declaration will create a new variable ยง),</li>
 <li>the corresponding value in the initialization is assignable to <code>v</code>, and</li>
-<li>there is at least one other variable in the declaration that is being declared anew.</li>
+<li>there is at least one other variable that is created by the declaration.</li>
 </ul>
 
 <p>