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

Replace addr_of_mut! with &raw mut and remove unsafe (Rust 1.82) #1346

Open
kkysen opened this issue Sep 9, 2024 · 0 comments
Open

Replace addr_of_mut! with &raw mut and remove unsafe (Rust 1.82) #1346

kkysen opened this issue Sep 9, 2024 · 0 comments
Labels
good first issue Good for newcomers low priority Issues that we would like to address at some point in the future safety/correctness

Comments

@kkysen
Copy link
Collaborator

kkysen commented Sep 9, 2024

Rust 1.82 will stabilize &raw mut finally, and also make the dereference in &raw mut (*ptr).field safe, so we can now make that safe and remove the unsafe block.

@kkysen kkysen added good first issue Good for newcomers low priority Issues that we would like to address at some point in the future safety/correctness labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers low priority Issues that we would like to address at some point in the future safety/correctness
Projects
None yet
Development

No branches or pull requests

1 participant