Skip to content

Commit

Permalink
clippy 1.84 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
th1000s committed Jan 9, 2025
1 parent ef3e1be commit d10095b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d10095b

Please sign in to comment.