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

Change NonNull::as_uninit_* to take self by value (as opposed to reference), matching primitive pointers. #96100

Merged
merged 1 commit into from
May 23, 2022

Commits on Apr 16, 2022

  1. Change as_uninit_* methods on NonNull from taking self by

    reference to taking `self` by value. This is consistent with the methods
    of the same names on primitive pointers. The returned lifetime was
    already previously unbounded.
    Raekye committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    d5f96e6 View commit details
    Browse the repository at this point in the history