From: Rob Pike Date: Tue, 17 Nov 2009 05:56:38 +0000 (-0800) Subject: fix typo in Append return type X-Git-Tag: weekly.2009-11-17~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bcb46c8560ce11a6bc6d47fd3b2dae623c66b1da;p=gostls13.git fix typo in Append return type R=rsc https://golang.org/cl/155058 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 694f05d101..3ab05fc1cf 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1441,7 +1441,7 @@ then make the receiver for the method a value of that type.
 type ByteSlice []byte
 
-func (slice ByteSlice) Append(data []byte) []slice {
+func (slice ByteSlice) Append(data []byte) []byte {
 	// Body exactly the same as above
 }