about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-07-27 11:52:59 +0900
committerGitHub <noreply@github.com>2022-07-27 11:52:59 +0900
commit0d5bdcac5ff0c5cbc6ed0a04663788a23cc62adf (patch)
treec9b1ee24735430bef1867139c542ba426669742d /compiler/rustc_codegen_llvm/src/errors.rs
parentf8f07dece708e61cc18eb6806cfc5d1642e44e57 (diff)
parentb8fb6e103294f8a6028122df2650fff84f2e3e14 (diff)
downloadrust-0d5bdcac5ff0c5cbc6ed0a04663788a23cc62adf.tar.gz
rust-0d5bdcac5ff0c5cbc6ed0a04663788a23cc62adf.zip
Rollup merge of #99775 - notriddle:notriddle/as-str, r=camelid
rustdoc: do not allocate String when writing path full name

No idea if this makes any perf difference, but it just seems like premature pessimisation to use String when str will do.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions