rust/library/core/src/mem
Miguel Ojeda 8680a44c0f Partially stabilize maybe_uninit_extra
This covers:

    impl<T> MaybeUninit<T> {
        pub unsafe fn assume_init_read(&self) -> T { ... }
        pub unsafe fn assume_init_drop(&mut self) { ... }
    }

It does not cover the const-ness of `write` under
`const_maybe_uninit_write` nor the const-ness of
`assume_init_read` (this commit adds
`const_maybe_uninit_assume_init_read` for that).

FCP: https://github.com/rust-lang/rust/issues/63567#issuecomment-958590287.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-01-11 17:01:13 +01:00
..
manually_drop.rs Fix since attribute for const_manually_drop feature 2021-12-11 17:10:03 +01:00
maybe_uninit.rs Partially stabilize maybe_uninit_extra 2022-01-11 17:01:13 +01:00
mod.rs Add note about non_exhaustive to variant_count 2022-01-04 21:58:36 -05:00