From 9dc788d0893ab7354faac5b64f9bf64c8708b4e7 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 21 Nov 2022 18:06:42 -0800 Subject: [PATCH] Fix clippy::let_underscore_drop (pedantic) https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_drop Signed-off-by: Anders Kaseorg --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bbeb5e9041..79464c929e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -381,7 +381,7 @@ fn inner_main() -> Result { // Check for updates if we're in a non-silent log level. #[cfg(feature = "update-informer")] if !is_stdin && log_level >= LogLevel::Default && atty::is(atty::Stream::Stdout) { - let _ = updates::check_for_updates(); + drop(updates::check_for_updates()); } if messages.iter().any(|message| !message.fixed) && !cli.exit_zero {