Commit bcb46c85 authored by Rob Pike's avatar Rob Pike

fix typo in Append return type

R=rsc
https://golang.org/cl/155058
parent 3c5dbb03
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment