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:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-05 06:44:47 +0200
committerGitHub <noreply@github.com>2020-04-05 06:44:47 +0200
commit590cb8b3b0897af135c327d83f0227a40e4cde8b (patch)
tree5d8f064464ed10eb5cb5570bbe28dc37f142b8dd /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent6ea27010b5e648ce6ca9405b732ff548d53f02a4 (diff)
parent2b718e8d9ca6efdccf4d72647cb3d3101e15b7fa (diff)
downloadrust-590cb8b3b0897af135c327d83f0227a40e4cde8b.tar.gz
rust-590cb8b3b0897af135c327d83f0227a40e4cde8b.zip
Rollup merge of #70766 - tspiteri:forget-to-ManuallyDrop, r=Mark-Simulacrum,RalfJung
use ManuallyDrop instead of forget inside collections

This PR changes some usage of `mem::forget` into `mem::ManuallyDrop` in some `Vec`, `VecDeque`, `BTreeMap` and `Box` methods.

Before the commit, the generated IR for some of the methods was longer, and even after optimization, some unwinding artifacts were still present.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions