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/bin/git_remote_nostr/push.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/bin/git_remote_nostr/push.rs') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index fc82796..1645ae8 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -1391,10 +1391,7 @@ fn update_remote_refs_pushed( fn refspec_to_from_to(refspec: &str) -> Result<(&str, &str)> { if !refspec.contains(':') { - bail!( - "refspec should contain a colon (:) but consists of: {}", - refspec - ); + bail!("refspec should contain a colon (:) but consists of: {refspec}"); } let parts = refspec.split(':').collect::>(); Ok(( -- cgit v1.2.3