]> Cypherpunks repositories - gostls13.git/commitdiff
spec: improve sentence structure for passing a slice
authorDQNEO <dqneoo@gmail.com>
Wed, 10 Feb 2021 13:34:09 +0000 (22:34 +0900)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Wed, 24 Feb 2021 05:23:32 +0000 (05:23 +0000)
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>
doc/go_spec.html

index e22fabd699ed4f2a89adf50fd1df184d02545105..2a1322fb0f0afff904de1be1ba89e726c0f5ca1d 100644 (file)
@@ -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>