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

Use &raw in the standard library #130865

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Commits on Sep 26, 2024

  1. Use &raw in the standard library

    Since the stabilization in rust-lang#127679 has reached stage0, 1.82-beta, we can
    start using `&raw` freely, and even the soft-deprecated `ptr::addr_of!`
    and `ptr::addr_of_mut!` can stop allowing the unstable feature.
    
    I intentionally did not change any documentation or tests, but the rest
    of those macro uses are all now using `&raw const` or `&raw mut` in the
    standard library.
    cuviper committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    f4d9d1a View commit details
    Browse the repository at this point in the history