From 709946c1b49114b71d3080bb8d97e63525f40fd9 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 17 Oct 2025 15:02:53 +0100 Subject: chore: cargo update update patches ahead of wider upgrade. clippy required some autofixes --- src/lib/git/nostr_url.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/git/nostr_url.rs') diff --git a/src/lib/git/nostr_url.rs b/src/lib/git/nostr_url.rs index 0a8338a..23c98e7 100644 --- a/src/lib/git/nostr_url.rs +++ b/src/lib/git/nostr_url.rs @@ -543,7 +543,7 @@ pub fn convert_clone_url_to_https(url: &str) -> Result { // Construct the HTTPS URL return Ok(format!("https://{}/{}", parts[0], parts[1..].join("/"))); } - bail!("Invalid SSH URL format: {}", url); + bail!("Invalid SSH URL format: {url}"); } // Convert ftp:// to https:// else if stripped_url.starts_with("ftp://") { @@ -555,7 +555,7 @@ pub fn convert_clone_url_to_https(url: &str) -> Result { } // If the URL is neither HTTPS, SSH, nor git@, return an error - bail!("Unsupported URL protocol: {}", url); + bail!("Unsupported URL protocol: {url}"); } // Function to strip username and password from the URL -- cgit v1.2.3