Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bufio: SplitFunc document #5532

Closed
ukai opened this issue May 22, 2013 · 1 comment
Closed

bufio: SplitFunc document #5532

ukai opened this issue May 22, 2013 · 1 comment

Comments

@ukai
Copy link
Contributor

ukai commented May 22, 2013

http://golang.org/pkg/bufio/#SplitFunc says
"SplitFunc can return (0, nil) to signal the Scanner to read more data into the
slice and try again with a longer slice starting at the same point in the input.", 
but SplitFunc returns 3 values (advance int, token []byte, err error).
It should be "SplitFunc can return (0, nil, nil) ..."?
@minux
Copy link
Member

minux commented May 22, 2013

Comment 1:

This issue was closed by revision cb8782e.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants