diff options
author | Rob Pike <r@golang.org> | 2009-11-16 21:56:38 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-11-16 21:56:38 -0800 |
commit | bcb46c8560ce11a6bc6d47fd3b2dae623c66b1da (patch) | |
tree | 6388cbea6887b3e29b4b16e86a417ba42f4ecf05 | |
parent | 3c5dbb036b31c5f5a2d0a80c166c72d8ffbd6ac9 (diff) | |
download | go-bcb46c8560ce11a6bc6d47fd3b2dae623c66b1da.tar.gz go-bcb46c8560ce11a6bc6d47fd3b2dae623c66b1da.zip |
fix typo in Append return type
R=rsc
https://golang.org/cl/155058
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |