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

alloc: Add new_zeroed() versions like new_uninit(). #66128

Merged
merged 1 commit into from
Nov 27, 2019

Commits on Nov 5, 2019

  1. alloc: Add new_zeroed() versions like new_uninit().

    MaybeUninit has both uninit() and zeroed(), it seems reasonable to have the same
    surface on Box/Rc/Arc.
    
    Needs tests.
    emilio committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    b12e142 View commit details
    Browse the repository at this point in the history