1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:00:09 -07:00

fix typo in Append return type

R=rsc
https://golang.org/cl/155058
This commit is contained in:
Rob Pike 2009-11-16 21:56:38 -08:00
parent 3c5dbb036b
commit bcb46c8560

View File

@ -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>