about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-07-07 22:49:45 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-07-13 11:16:27 +1000
commit29c53d87481913511955c7bb33826899b964f2fe (patch)
tree6a6ff29d1f4d86169105c1ba73734c703863b5ac /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff)
downloadrust-29c53d87481913511955c7bb33826899b964f2fe.tar.gz
rust-29c53d87481913511955c7bb33826899b964f2fe.zip
Don't clone symbol names for coverage hashing
A symbol already contains a `&str`, and in this context there's no need to make
an owned copy, so we can just use the original string reference.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions