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.