From cef62b38aa54829542291e2ca6fe6a89e59ce54d Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Fri, 21 Feb 2025 11:17:28 +0000 Subject: [PATCH] chore: Rust 1.85.0 linting --- src/app_data/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_data/mod.rs b/src/app_data/mod.rs index 731c818..01e8b4e 100644 --- a/src/app_data/mod.rs +++ b/src/app_data/mod.rs @@ -167,7 +167,7 @@ impl AppData { /// Check if a given container can be inserted into the "visible" list, based on current filter term and filter_by fn can_insert(&self, container: &ContainerItem) -> bool { - self.filter.term.as_ref().map_or(true, |term| { + self.filter.term.as_ref().is_none_or(|term| { let term = term.to_lowercase(); match self.filter.by { FilterBy::All => {