Skip to content

Commit 26f12be

Browse files
committed
doc: add a missing space in func signature
Fixes #11383 Change-Id: I7ef0bb8b535ef513afdfcda19317ae4ff21f7166 Reviewed-on: https://go-review.googlesource.com/11490 Reviewed-by: Josh Bleecher Snyder <[email protected]>
1 parent 4e834cf commit 26f12be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/effective_go.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ <h3 id="slices">Slices</h3>
14211421
<code>nil</code> slice, and return 0.
14221422
</p>
14231423
<pre>
1424-
func Append(slice, data[]byte) []byte {
1424+
func Append(slice, data []byte) []byte {
14251425
l := len(slice)
14261426
if l + len(data) &gt; cap(slice) { // reallocate
14271427
// Allocate double what's needed, for future growth.

0 commit comments

Comments
 (0)