From d10095bc732a7675295d3389152675ccc41e8240 Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Thu, 9 Jan 2025 22:50:21 +0100 Subject: [PATCH] clippy 1.84 fix --- src/utils/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/process.rs b/src/utils/process.rs index 5dd08cb88..61cb76f65 100644 --- a/src/utils/process.rs +++ b/src/utils/process.rs @@ -517,7 +517,7 @@ where // The full scan is expensive on Linux and rarely successful, so disable it by default. #[cfg(target_os = "linux")] let full_scan = std::env::var("DELTA_CALLING_PROCESS_QUERY_ALL") - .map_or(false, |v| !["0", "false", "no"].iter().any(|&n| n == v)); + .is_ok_and(|v| !["0", "false", "no"].iter().any(|&n| n == v)); if full_scan { info.refresh_processes();