diff options
| author | bors <bors@rust-lang.org> | 2022-11-08 16:07:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-08 16:07:32 +0000 |
| commit | c4fbe54ac3916b42bb3469075abfef05803e3372 (patch) | |
| tree | 6ce14dd73fc1853fa8cc5a71f80af9a1d5f858d2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | b9ca3195abeb5d8112b6739fc77e25d101937a56 (diff) | |
| parent | 70010850e498de0b9b2a0b1874ab8271bb7da180 (diff) | |
| download | rust-c4fbe54ac3916b42bb3469075abfef05803e3372.tar.gz rust-c4fbe54ac3916b42bb3469075abfef05803e3372.zip | |
Auto merge of #9817 - mgrachev:patch-1, r=Manishearth
Update lint example for `collapsible_str_replace` To fix this warning: ``` warning: the borrowed expression implements the required traits --> src/fixes/quote_character.rs:16:43 | 16 | let hello = "hesuo worpd".replace(&['s', 'u', 'p'], "l"); | ^^^^^^^^^^^^^^^^ help: change this to: `['s', 'u', 'p']` | = note: `#[warn(clippy::needless_borrow)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow ``` *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
