diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-07-07 22:49:45 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-07-13 11:16:27 +1000 |
| commit | 29c53d87481913511955c7bb33826899b964f2fe (patch) | |
| tree | 6a6ff29d1f4d86169105c1ba73734c703863b5ac /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 33a2c2487ac5d9927830ea4c1844335c6b9f77db (diff) | |
| download | rust-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
