From be0984cdf3a0d8c10b152b32115c216abde37272 Mon Sep 17 00:00:00 2001 From: pan93412 Date: Wed, 2 Nov 2022 22:55:59 +0800 Subject: [PATCH] style(self_update): Run cargo fmt (#108) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The commit 9105a8aac is not formatted, which breaks the CI check. Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com> --- src/self_update.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/self_update.rs b/src/self_update.rs index bddddf45..9f10b2f3 100644 --- a/src/self_update.rs +++ b/src/self_update.rs @@ -18,7 +18,11 @@ pub fn self_update() -> Result<()> { .repo_owner("topgrade-rs") .repo_name("topgrade") .target(target) - .bin_name(if cfg!(windows) { "topgrade-rs.exe" } else { "topgrade-rs" }) + .bin_name(if cfg!(windows) { + "topgrade-rs.exe" + } else { + "topgrade-rs" + }) .show_output(false) .show_download_progress(true) .current_version(self_update_crate::cargo_crate_version!())