-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Docs: Explain why/when .lines()
returns an error
#38505
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
I think it might be good to have these same changes on the |
@frewsxcv |
/// | ||
/// # Errors | ||
/// | ||
/// Each line of the iterator has the same error semantics as [`BufRead::read_line()`]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big deal, but in the future, you don't need to add ()
in the method name. Not too concerned with this right now since we'll probably remove them all in bulk sometime in the future.
📌 Commit 24334a0 has been approved by |
Docs: Explain why/when `.lines()` returns an error Fix rust-lang#37744.
Fix #37744.