mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Auto merge of #16920 - Veykril:clippy-lints, r=Veykril
internal: Fix new nightly clippy lints
This commit is contained in:
commit
3691380c35
33 changed files with 31 additions and 42 deletions
|
@ -237,7 +237,7 @@ impl WorkspaceBuildScripts {
|
|||
},
|
||||
progress,
|
||||
)?;
|
||||
res.iter_mut().for_each(|it| it.error = errors.clone());
|
||||
res.iter_mut().for_each(|it| it.error.clone_from(&errors));
|
||||
collisions.into_iter().for_each(|(id, workspace, package)| {
|
||||
if let Some(&(p, w)) = by_id.get(id) {
|
||||
res[workspace].outputs[package] = res[w].outputs[p].clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue