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

Add MaybeUninit type #312

Closed
wants to merge 1 commit into from
Closed

Add MaybeUninit type #312

wants to merge 1 commit into from

Commits on Sep 3, 2023

  1. Add MaybeUninit type

    The standard library's `MaybeUninit` type does not currently support
    wrapping unsized types. This commit introduces a polyfill with the same
    behavior as `MaybeUninit` which does support wrapping unsized types.
    
    In this commit, the only supported types are sized types and slice
    types. Later (as part of #29), we will add the ability to derive the
    `AsMaybeUninit` trait, which will extend support to custom DSTs.
    
    Makes progress on #29
    joshlf committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    79598c7 View commit details
    Browse the repository at this point in the history