From 26f12beb5d1828858c365409af23393013c0e4e3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 25 Jun 2015 05:33:51 +0200 Subject: [PATCH] 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 --- doc/effective_go.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.
-- 
2.50.0