Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
boozook and github-actions[bot] authored Jun 15, 2024
1 parent 16dcadb commit 1787d4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cargo/src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ pub fn build(cfg: &Config, tree: &MetaDeps) -> CargoResult<Vec<BuildProduct>> {
.collect::<BTreeSet<_>>();

let ck_exact = ck_name.iter().copied().find(|ck| {
comps.iter()
.all(|(_num, first)| matches!(first, Some(s) if *s == *ck))
});
comps.iter()
.all(|(_num, first)| matches!(first, Some(s) if *s == *ck))
});

let removed = if let Some(ck) = ck_exact {
roots.extract_if(|root| {
Expand Down

0 comments on commit 1787d4c

Please sign in to comment.