We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Event::is_err()
In the docs for Event::is_err()
polling/src/lib.rs
Lines 413 to 414 in cf2d60e
it is stated:
Returns Some(true) if the connection has failed, Some(false) if there is an error, or None if the platform does not support detecting this condition.
Some(true)
Some(false)
None
I assume it should say
[...] Some(false) if there is no error, [...]
In the various implementations I can see that the check is normally
Some(self.flags.contains(epoll::EventFlags::ERR))
So I assume my understanding is correct?
The text was updated successfully, but these errors were encountered:
I would accept a PR to fix this.
Sorry, something went wrong.
Fix for [smol-rs#203](smol-rs#203)
c6cc9f6
You got it, #204
Thanks!
docs: Fix typo in is_err()
7719966
Closes #203 Co-authored-by: John Nunley <[email protected]>
Successfully merging a pull request may close this issue.
In the docs for
Event::is_err()
polling/src/lib.rs
Lines 413 to 414 in cf2d60e
it is stated:
I assume it should say
In the various implementations I can see that the check is normally
So I assume my understanding is correct?
The text was updated successfully, but these errors were encountered: