diff --git a/doc/go_spec.html b/doc/go_spec.html index 170c359c87b..b5f6c5fd657 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -7141,7 +7141,7 @@ A constant size argument must be non-negative and re by a value of type int; if it is an untyped constant it is given type int. If both n and m are provided and are constant, then n must be no larger than m. -If n is negative or larger than m at run time, +For slices and channels, if n is negative or larger than m at run time, a run-time panic occurs.