diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-07-13 11:21:21 +1000 | 
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-07-13 11:28:50 +1000 | 
| commit | 7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9 (patch) | |
| tree | 2adf13a3b437eb942cd15019cc4102f28030916f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 29c53d87481913511955c7bb33826899b964f2fe (diff) | |
| download | rust-7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9.tar.gz rust-7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9.zip | |
Pass a byte slice to `coverageinfo::hash_bytes` instead of an owned vector
The function body immediately treats it as a slice anyway, so this just makes it possible to call the hash function with arbitrary read-only byte slices.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
