about summary refs log tree commit diff
path: root/library/std/src/os/unix/fs.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-28 05:15:56 +0000
committerbors <bors@rust-lang.org>2023-08-28 05:15:56 +0000
commit41cb42a370b35707a75c79ff9ab6af1191b638fb (patch)
treec36b9d3ee534c593067b7b9f1c8e00c1d48e9e3d /library/std/src/os/unix/fs.rs
parentf7dd70c3c9edeecdbedf4d80c83317c50a817756 (diff)
parentf26293dca4a4bc2fa6158964546617a6a34da639 (diff)
downloadrust-41cb42a370b35707a75c79ff9ab6af1191b638fb.tar.gz
rust-41cb42a370b35707a75c79ff9ab6af1191b638fb.zip
Auto merge of #115296 - saethlin:dont-duplicate-allocs, r=jackh726
Load include_bytes! directly into an Lrc

This PR deletes an innocent-looking `.into()` that was converting from a `Vec<u8>` to `Lrc<[u8]>`. This has significant runtime and memory overhead when using `include_bytes!` to pull in a large binary file.
Diffstat (limited to 'library/std/src/os/unix/fs.rs')
0 files changed, 0 insertions, 0 deletions