-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Doc: "unsafe turns off safety checks" is misleading #14489
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
Comments
I agree we should be more clear that only a few restrictions are technically lifted, it's not like you drop straight into assembly or something in |
This isn't true. You have to audit all code inside |
This language has been removed with the merger of #16641 |
fix(ide): highlight escapes in char close rust-lang#14489 before:  after: 
http://doc.rust-lang.org/intro.html#a-footnote:-unsafe currently says:
This is misleading and should not be in the documentation. For example,
unsafe {}
does not let you use a moved value. Instead, it lets you use features (such as raw pointers andtransmute
) that are otherwise forbidden.The text was updated successfully, but these errors were encountered: