Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
4939b7b0
Commit
4939b7b0
authored
Aug 08, 2012
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
io: amend ReaderFrom doc as per r's comment
R=r CC=golang-dev
https://golang.org/cl/6458097
parent
e803e1cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
io.go
src/pkg/io/io.go
+3
-3
No files found.
src/pkg/io/io.go
View file @
4939b7b0
...
...
@@ -131,9 +131,9 @@ type ReadWriteSeeker interface {
// ReaderFrom is the interface that wraps the ReadFrom method.
//
// ReadFrom reads data from r until EOF
. The return value n is the
//
number of bytes read. Any error except io.EOF encountered during
// the read is also returned.
// ReadFrom reads data from r until EOF
or error.
//
The return value n is the number of bytes read.
//
Any error except io.EOF encountered during
the read is also returned.
//
// The Copy function uses ReaderFrom if available.
type
ReaderFrom
interface
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment