diff --git a/doc/go_spec.html b/doc/go_spec.html index 77ece54d52..1d0ea22c7c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4690,8 +4690,8 @@ TypeList = Type { "," Type } .
The TypeSwitchGuard may include a short variable declaration. -When that form is used, the variable is declared at the beginning of -the implicit block in each clause. +When that form is used, the variable is declared at the end of the +TypeSwitchCase in the implicit block of each clause. In clauses with a case listing exactly one type, the variable has that type; otherwise, the variable has the type of the expression in the TypeSwitchGuard.