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

Imprecision in "What Unsafe Rust Can Do" #437

Open
alimf17 opened this issue Dec 15, 2023 · 0 comments
Open

Imprecision in "What Unsafe Rust Can Do" #437

alimf17 opened this issue Dec 15, 2023 · 0 comments

Comments

@alimf17
Copy link

alimf17 commented Dec 15, 2023

In "What Unsafe Can Do", the fourth bullet point on the first list is "Mutate statics." What it should say is "Access or modify mutable statics", same as "Rust By Example"'s list: the compiler does not allow you to read a mutable static without an unsafe block.

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

No branches or pull requests

1 participant