diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-09-08 19:01:05 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2020-09-08 19:01:05 +0200 |
| commit | 75e471ade9ea6095eef6cd4ef35cfc0b8bfc9410 (patch) | |
| tree | 4eb3a350829ec425c51d7fa45201f1e863c2fb76 /library/core/src/array | |
| parent | 7bc0bf72545f5d6ac6d9639391da875d5e147d9a (diff) | |
| download | rust-75e471ade9ea6095eef6cd4ef35cfc0b8bfc9410.tar.gz rust-75e471ade9ea6095eef6cd4ef35cfc0b8bfc9410.zip | |
Add MaybeUninit::drop.
ManuallyDrop's documentation tells the user to use MaybeUninit instead when handling uninitialized data. However, the main functionality of ManuallyDrop (drop) was not available directly on MaybeUninit. Adding it makes it easier to switch from one to the other.
Diffstat (limited to 'library/core/src/array')
0 files changed, 0 insertions, 0 deletions
