diff --git a/doc/go_spec.html b/doc/go_spec.html index 9a1cf0a0fe..9ab0804609 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -3384,7 +3384,7 @@ to the type of the other operand.

The right operand in a shift expression must have unsigned integer type -or be an untyped constant that can be converted to unsigned integer type. +or be an untyped constant representable by a value of type uint. If the left operand of a non-constant shift expression is an untyped constant, it is first converted to the type it would assume if the shift expression were replaced by its left operand alone.