Skip to content

Commit

Permalink
Apply fmt suggestions
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 May 28, 2024
1 parent 9c72320 commit f23f07b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions support/build/src/metadata/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ pub trait CrateInfoSource {
None
}
} else if let Some(man) = root.bin(target) {
Some(base.override_with_extra(man).into_owned())
} else {
log::debug!("target not found: {}", target);
None
}
Some(base.override_with_extra(man).into_owned())
} else {
log::debug!("target not found: {}", target);
None
}
} else {
Some(base.into_owned())
}
Expand Down Expand Up @@ -149,11 +149,11 @@ pub trait MetadataSource {
None
}
} else if let Some(target) = self.bin(target) {
let trg = base.override_with_extra_ref(target);
Some(trg.into_owned())
} else {
None
}
let trg = base.override_with_extra_ref(target);
Some(trg.into_owned())
} else {
None
}
}

fn manifest_for_target_any(&self, target: &str) -> Option<impl ManifestSourceOptExt> {
Expand Down

0 comments on commit f23f07b

Please sign in to comment.