From: DQNEO Date: Wed, 10 Feb 2021 13:34:09 +0000 (+0900) Subject: spec: improve sentence structure for passing a slice X-Git-Tag: go1.17beta1~1403 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=084b07d6f6;p=gostls13.git spec: improve sentence structure for passing a slice Change-Id: I453d06da2f596eb0b99905aec46a05547d73c62c Reviewed-on: https://go-review.googlesource.com/c/go/+/290872 Trust: Emmanuel Odeke Trust: Robert Griesemer Trust: Ian Lance Taylor Reviewed-by: Robert Griesemer Reviewed-by: Rob Pike --- diff --git a/doc/go_spec.html b/doc/go_spec.html index e22fabd699..2a1322fb0f 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -3532,9 +3532,9 @@ within Greeting, who will have the value

-If the final argument is assignable to a slice type []T, it is -passed unchanged as the value for a ...T parameter if the argument -is followed by .... In this case no new slice is created. +If the final argument is assignable to a slice type []T and +is followed by ..., it is passed unchanged as the value +for a ...T parameter. In this case no new slice is created.