diff options
author | DQNEO <dqneoo@gmail.com> | 2021-02-10 22:34:09 +0900 |
---|---|---|
committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-02-24 05:23:32 +0000 |
commit | 084b07d6f6104bf9585ffe71fc2477046102c1da (patch) | |
tree | 5eafc838dd3b9c873d15ef3e85e09f84bbe77898 /doc/go_spec.html | |
parent | 6ba4a300d894b33fd8bf076dec08a5e3245d3a2c (diff) | |
download | go-084b07d6f6104bf9585ffe71fc2477046102c1da.tar.gz go-084b07d6f6104bf9585ffe71fc2477046102c1da.zip |
spec: improve sentence structure for passing a slice
Change-Id: I453d06da2f596eb0b99905aec46a05547d73c62c
Reviewed-on: https://go-review.googlesource.com/c/go/+/290872
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Robert Griesemer <gri@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r-- | doc/go_spec.html | 8 |
1 files 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 @@ <!--{ "Title": "The Go Programming Language Specification", - "Subtitle": "Version of Feb 19, 2021", + "Subtitle": "Version of Feb 24, 2021", "Path": "/ref/spec" }--> @@ -3532,9 +3532,9 @@ within <code>Greeting</code>, <code>who</code> will have the value </p> <p> -If the final argument is assignable to a slice type <code>[]T</code>, it is -passed unchanged as the value for a <code>...T</code> parameter if the argument -is followed by <code>...</code>. In this case no new slice is created. +If the final argument is assignable to a slice type <code>[]T</code> and +is followed by <code>...</code>, it is passed unchanged as the value +for a <code>...T</code> parameter. In this case no new slice is created. </p> <p> |