-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Option docs conflates panics with safety #36581
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Comments
Should probably just retitle that section to "Warning" or "Note" or something like that. |
Yes, this seems sub-par. I would remove the heading and move it into the regular description, personally. If anyone would like to fix this, I would be happy to mentor. |
I'd be interested in fixing this @steveklabnik To clarify:
|
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Sep 21, 2016
…_fix, r=bluss fixed the safety header/wording in option.rs Fixes rust-lang#36581 screenshot of the rendered documentation: http://imgur.com/14kLVrA r? @steveklabnik
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Sep 21, 2016
…_fix, r=bluss fixed the safety header/wording in option.rs Fixes rust-lang#36581 screenshot of the rendered documentation: http://imgur.com/14kLVrA r? @steveklabnik
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Sep 22, 2016
…_fix, r=bluss fixed the safety header/wording in option.rs Fixes rust-lang#36581 screenshot of the rendered documentation: http://imgur.com/14kLVrA r? @steveklabnik
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
In Rust, safety is memory safety, and panic is safe. Option docs should not use "safety" for this notice: https://doc.rust-lang.org/nightly/std/option/enum.Option.html#safety-note
The text was updated successfully, but these errors were encountered: