diff --git a/doc/go_spec.html b/doc/go_spec.html index 48672024bc4..78be5584b34 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3270,14 +3270,14 @@ and the variables are initialized once before the statement is entered.
switch tag { -default: s3() -case 0, 1, 2, 3: s1() -case 4, 5, 6, 7: s2() +default: s3(); +case 0, 1, 2, 3: s1(); +case 4, 5, 6, 7: s2(); } switch x := f(); { -case x < 0: return -x -default: return x +case x < 0: return -x; +default: return x; } switch { // missing expression means "true"