Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514
Remove useless borrows and derefs They are nothing more than noise. <sub>These are not all of them, but my clippy started crashing (stack overflow), so rip :(</sub>
This commit is contained in:
commit
1a2f79b82c
42 changed files with 157 additions and 158 deletions
|
@ -2658,7 +2658,7 @@ impl Target {
|
|||
|
||||
// Additionally look in the sysroot under `lib/rustlib/<triple>/target.json`
|
||||
// as a fallback.
|
||||
let rustlib_path = crate::target_rustlib_path(&sysroot, &target_triple);
|
||||
let rustlib_path = crate::target_rustlib_path(sysroot, target_triple);
|
||||
let p = PathBuf::from_iter([
|
||||
Path::new(sysroot),
|
||||
Path::new(&rustlib_path),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue