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

feat(byte_sub_ptr): add ptr::byte_sub_ptr #121919

Closed
wants to merge 1 commit into from

Commits on Mar 3, 2024

  1. feat(byte_sub_ptr): add ptr::byte_sub_ptr

    This is an API that naturally should exist as a combination of byte_offset_from and sub_ptr
    both existing (they showed up at similar times so this union was never made). Adding these
    is a logical (and perhaps final) precondition of stabilizing ptr_sub_ptr (rust-lang#95892).
    Gankra committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    d42d678 View commit details
    Browse the repository at this point in the history