rust/library/core
Ralf Jung c20356e96b
Rollup merge of #76484 - fusion-engineering-forks:maybe-uninit-drop, r=RalfJung
Add MaybeUninit::assume_init_drop.

`ManuallyDrop`'s documentation tells the user to use `MaybeUninit` instead when handling uninitialized data. However, the main functionality of `ManuallyDrop` (`drop`) is not available directly on `MaybeUninit`. Adding it makes it easier to switch from one to the other.

I re-used the `maybe_uninit_extra` feature and tracking issue number (#63567), since it seems very related. (And to avoid creating too many features tracking issues for `MaybeUninit`.)
2020-09-12 10:43:17 +02:00
..
benches flt2dec: properly handle uninitialized memory 2020-09-02 12:41:38 +02:00
src Rollup merge of #76484 - fusion-engineering-forks:maybe-uninit-drop, r=RalfJung 2020-09-12 10:43:17 +02:00
tests Rollup merge of #76114 - marmeladema:duration-saturating-ops, r=shepmaster 2020-09-12 10:43:08 +02:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00