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

bytes: incorrect description of FieldsFunc #6941

Closed
fzipp opened this issue Dec 12, 2013 · 1 comment
Closed

bytes: incorrect description of FieldsFunc #6941

fzipp opened this issue Dec 12, 2013 · 1 comment

Comments

@fzipp
Copy link
Contributor

fzipp commented Dec 12, 2013

The description of strings.FieldsFunc was fixed some time ago by
https://golang.org/cl/3814041, but the equivalent change to bytes.FieldsFunc
was forgotten.

The last sentence of the description should read
  "If all code points in s satisfy f(c) or s is empty, an empty slice is returned."
instead of
  "If no code points in s satisfy f(c), an empty slice is returned."

Which version are you using?  (run 'go version')
  Go 1.2
@minux
Copy link
Member

minux commented Dec 13, 2013

Comment 1:

This issue was closed by revision c134ce2.

Status changed to Fixed.

@fzipp fzipp added the fixed label Dec 13, 2013
@golang golang locked and limited conversation to collaborators Jun 25, 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