Skip to content

bufio: SplitFunc document #5532

@ukai

Description

@ukai
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) ..."?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions