mirror of https://github.com/golang/go.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 <emm.odeke@gmail.com>
This commit is contained in:
parent
66e562cc52
commit
bb0a8fd38f
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue