From bcb46c8560ce11a6bc6d47fd3b2dae623c66b1da Mon Sep 17 00:00:00 2001
From: Rob Pike <r@golang.org>
Date: Mon, 16 Nov 2009 21:56:38 -0800
Subject: [PATCH] fix typo in Append return type

R=rsc
https://golang.org/cl/155058
---
 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 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.
 <pre>
 type ByteSlice []byte
 
-func (slice ByteSlice) Append(data []byte) []slice {
+func (slice ByteSlice) Append(data []byte) []byte {
 	// Body exactly the same as above
 }
 </pre>
-- 
2.30.9