From 48393314dd4419544301ca318bdd8d9aeb397eaa Mon Sep 17 00:00:00 2001 From: Hendrik Maus Date: Wed, 13 Apr 2022 08:13:07 +0200 Subject: [PATCH] chore: cargo fmt --- release-operator/src/registry.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release-operator/src/registry.rs b/release-operator/src/registry.rs index 02b39bdda..55049e108 100644 --- a/release-operator/src/registry.rs +++ b/release-operator/src/registry.rs @@ -77,7 +77,8 @@ impl Crate { .context("search crates.io for published crate version")?; 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 = { @@ -111,7 +112,7 @@ impl Crate { if ours < theirs { 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)