From d68a1389abc333a1225b7e90be01b9975c4aec21 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:00:24 +0100 Subject: [PATCH] style: apply rustfmt --- registry/src/endpoints/publish_version.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/src/endpoints/publish_version.rs b/registry/src/endpoints/publish_version.rs index a3dadf5..0b51c79 100644 --- a/registry/src/endpoints/publish_version.rs +++ b/registry/src/endpoints/publish_version.rs @@ -75,13 +75,13 @@ fn compare_repo_urls(this: &gix::Url, external: &gix::Url) -> bool { } else { &this }; - + let external = if external.ends_with(".git") { &external[..external.len() - 4] } else { &external }; - + this == external }