From d011fcf502be023c4a4ff9a77592f907cc2d0d31 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Fri, 29 Sep 2023 08:45:29 -0400 Subject: [PATCH] clippy:println_empty_string warning: empty string literal in `eprintln!` --> src/util.rs:1395:9 | 1395 | eprintln!(""); // newline after progress bar | ^^^^^^^^^^--^ | | | help: remove the empty string | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string = note: `#[warn(clippy::println_empty_string)]` on by default --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index 0531b9008..db527a67d 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1392,7 +1392,7 @@ pub async fn download_file( #[cfg(any(feature = "feature_capable", feature = "lite"))] if show_progress { pb.finish_with_message(format!("Downloaded {url}")); - eprintln!(""); // newline after progress bar + eprintln!(); // newline after progress bar } Ok(())