From 084b07d6f6104bf9585ffe71fc2477046102c1da Mon Sep 17 00:00:00 2001 From: DQNEO Date: Wed, 10 Feb 2021 22:34:09 +0900 Subject: [PATCH] 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 --- doc/go_spec.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.

-- 2.50.0