mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
941d915942
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. cc #63291