Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/pkg/io/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