chore: cargo fmt

This commit is contained in:
Hendrik Maus 2022-04-13 08:13:07 +02:00 committed by Hanno Braun
parent a449b1c529
commit 48393314dd

View File

@ -77,7 +77,8 @@ impl Crate {
.context("search crates.io for published crate version")?; .context("search crates.io for published crate version")?;
log::debug!("{self} found as {version} on their side"); log::debug!("{self} found as {version} on their side");
semver::Version::from_str(&version).context("parse their version")? semver::Version::from_str(&version)
.context("parse their version")?
}; };
let ours = { let ours = {
@ -111,7 +112,7 @@ impl Crate {
if ours < theirs { if ours < theirs {
log::warn!("{self} has already been published as {ours}, which is a newer version"); log::warn!("{self} has already been published as {ours}, which is a newer version");
return Ok(CrateState::Behind) return Ok(CrateState::Behind);
} }
Ok(CrateState::Ahead) Ok(CrateState::Ahead)