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

Supplement documentation fixes for fail!() -> panic!() #18880

Merged
merged 2 commits into from
Nov 14, 2014

Conversation

barosl
Copy link
Contributor

@barosl barosl commented Nov 11, 2014

I found some occurrences of "failure" and "fails" in the documentation. I changed them to "panics" if it means a task panic. Otherwise I left it as is, or changed it to "errors" to clearly distinguish them.

Also, I made a minor fix that is breaking the layout of a module page. "Example" is shown in an irrelevant place from the following page: http://doc.rust-lang.org/std/os/index.html

Throughout the docs, "failure" was replaced with "panics" if it means a
task panic. Otherwise, it remained as is, or changed to "errors" to
clearly differentiate it from a task panic.
The first paragraph must be separated from the next paragraph.
Otherwise, rustdoc will consider the content of the latter as part of
the title.
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pcwalton (or someone else) soon.

@rust-highfive
Copy link
Collaborator

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@steveklabnik
Copy link
Member

I skimmed this and it looks okay, but I'd like another person to check it too :)

@barosl
Copy link
Contributor Author

barosl commented Nov 13, 2014

Woot, just curious, what's happening? A build bot problem?

@steveklabnik
Copy link
Member

Yes, just some weirdness.

bors added a commit that referenced this pull request Nov 14, 2014
I found some occurrences of "failure" and "fails" in the documentation. I changed them to "panics" if it means a task panic. Otherwise I left it as is, or changed it to "errors" to clearly distinguish them.

Also, I made a minor fix that is breaking the layout of a module page. "Example" is shown in an irrelevant place from the following page: http://doc.rust-lang.org/std/os/index.html
@bors bors closed this Nov 14, 2014
@bors bors merged commit 5969bf6 into rust-lang:master Nov 14, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 20, 2025
Add config setting which allows adding additional include paths to the VFS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants