Commit 4939b7b0 authored by Andrew Gerrand's avatar Andrew Gerrand

io: amend ReaderFrom doc as per r's comment

R=r
CC=golang-dev
https://golang.org/cl/6458097
parent e803e1cf
...@@ -131,9 +131,9 @@ type ReadWriteSeeker interface { ...@@ -131,9 +131,9 @@ type ReadWriteSeeker interface {
// ReaderFrom is the interface that wraps the ReadFrom method. // ReaderFrom is the interface that wraps the ReadFrom method.
// //
// ReadFrom reads data from r until EOF. The return value n is the // ReadFrom reads data from r until EOF or error.
// number of bytes read. Any error except io.EOF encountered during // The return value n is the number of bytes read.
// the read is also returned. // Any error except io.EOF encountered during the read is also returned.
// //
// The Copy function uses ReaderFrom if available. // The Copy function uses ReaderFrom if available.
type ReaderFrom interface { type ReaderFrom interface {
......
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