diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-17 18:47:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 18:47:40 +0100 |
| commit | 59972868e63a24034a5d8379c8ca4146a72b7373 (patch) | |
| tree | 1315cd321372f52e3e48053f9cd5871f1b0eb478 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | eeeb021954e30a6b16fc12cc4b8a1bcf7910a40e (diff) | |
| parent | 7c2db703b0b56cede3d8ce264e9d1fcdb1397f94 (diff) | |
| download | rust-59972868e63a24034a5d8379c8ca4146a72b7373.tar.gz rust-59972868e63a24034a5d8379c8ca4146a72b7373.zip | |
Rollup merge of #120952 - saethlin:vec-into-iter, r=the8472
Don't use mem::zeroed in vec::IntoIter `mem::zeroed` is not a trivial function. Maybe it was once, but now it involves multiple locals, copies, and an intrinsic that gets monomorphized into a call to `panic_nounwind` for iterators of types like `Vec<&T>`. Of course all that complexity is trivially optimized out, but generating a bunch of IR where we don't need to just so we can optimize it away later is silly.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
