about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-09-08 19:01:05 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-09-08 19:01:05 +0200
commit75e471ade9ea6095eef6cd4ef35cfc0b8bfc9410 (patch)
tree4eb3a350829ec425c51d7fa45201f1e863c2fb76 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent7bc0bf72545f5d6ac6d9639391da875d5e147d9a (diff)
downloadrust-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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions