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

downgrade ptr.is_aligned_to crate-private #121920

Closed
wants to merge 1 commit into from

Commits on Mar 3, 2024

  1. downgrade ptr.is_aligned_to crate-private

    Per rust-lang#96284 (comment)
    this API is a mess and is regarded as insufficiently motivated. Removing
    it from the public API is potentially the only blocker on stabilizing
    its pleasant brother .is_aligned().
    
    I initially just deleted it completely but it's since become Heavily Used
    for the purposes of assert_unsafe_precondition, and there's clearly
    Some Stuff going on with that API that I have no interest in poking.
    Gankra committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    481e6b5 View commit details
    Browse the repository at this point in the history