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/ngit/sub_commands/init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/ngit') diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs index e28268d..39fe670 100644 --- a/src/bin/ngit/sub_commands/init.rs +++ b/src/bin/ngit/sub_commands/init.rs @@ -1055,7 +1055,7 @@ fn push_main_or_master_branch(git_repo: &Repo) -> Result<()> { if exit_status.success() { Ok(()) } else { - bail!("git push process exited with an error: {}", exit_status); + bail!("git push process exited with an error: {exit_status}"); } } @@ -1086,6 +1086,6 @@ fn run_ngit_sync() -> Result<()> { if exit_status.success() { Ok(()) } else { - bail!("ngit sync process exited with an error: {}", exit_status); + bail!("ngit sync process exited with an error: {exit_status}"); } } -- cgit v1.2.3