-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Add doc examples for io::Error::from_raw_os_error
.
#34612
Conversation
Thanks! @bors: r+ rollup |
📌 Commit a0e01cc has been approved by |
…, r=GuillaumeGomez Add doc examples for `io::Error::from_raw_os_error`. None
…, r=GuillaumeGomez Add doc examples for `io::Error::from_raw_os_error`. None
…, r=GuillaumeGomez Add doc examples for `io::Error::from_raw_os_error`. None
@bors: r- this failed the rollup https://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/9752/steps/test/logs/stdio |
a0e01cc
to
98e3120
Compare
It turns out Linux has different error codes than BSD (including Darwin), so I updated the example to explicitly say Linux and only run on Linux. |
@bors: r+ rollup Thanks! |
📌 Commit 98e3120 has been approved by |
…, r=steveklabnik Add doc examples for `io::Error::from_raw_os_error`. None
…, r=steveklabnik Add doc examples for `io::Error::from_raw_os_error`. None
No description provided.