From: Brad Fitzpatrick Date: Thu, 25 Jun 2015 03:33:51 +0000 (+0200) Subject: doc: add a missing space in func signature X-Git-Tag: go1.5beta1~122 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=26f12beb5d1828858c365409af23393013c0e4e3;p=gostls13.git 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 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 7dfdb91734..5465fa3a32 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1421,7 +1421,7 @@ resulting slice is returned. The function uses the fact that nil slice, and return 0.

-func Append(slice, data[]byte) []byte {
+func Append(slice, data []byte) []byte {
     l := len(slice)
     if l + len(data) > cap(slice) {  // reallocate
         // Allocate double what's needed, for future growth.