Skip to content

Commit 1024b25

Browse files
committed
spec: clarify wording on passing slice arguments to variadic functions
Per discussion on #30769. Fixes #30769. Change-Id: I620dbac936de1a0b5deec03926dd11d690a918e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/167380 Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]> Reviewed-by: Rob Pike <[email protected]>
1 parent ee1c76d commit 1024b25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/go_spec.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--{
22
"Title": "The Go Programming Language Specification",
3-
"Subtitle": "Version of March 12, 2019",
3+
"Subtitle": "Version of March 13, 2019",
44
"Path": "/ref/spec"
55
}-->
66

@@ -3484,7 +3484,7 @@ <h3 id="Passing_arguments_to_..._parameters">Passing arguments to <code>...</cod
34843484
</p>
34853485

34863486
<p>
3487-
If the final argument is assignable to a slice type <code>[]T</code>, it may be
3487+
If the final argument is assignable to a slice type <code>[]T</code>, it is
34883488
passed unchanged as the value for a <code>...T</code> parameter if the argument
34893489
is followed by <code>...</code>. In this case no new slice is created.
34903490
</p>

0 commit comments

Comments
 (0)