From 65c217ae27e6b0abe26d5baea40f2bab695a3651 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 17 Feb 2026 20:30:44 -0800 Subject: [BNTL Utils] Fix misc clippy lints --- plugins/bntl_utils/src/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/bntl_utils/src/helper.rs') diff --git a/plugins/bntl_utils/src/helper.rs b/plugins/bntl_utils/src/helper.rs index 3fc1a047..2aea8e0a 100644 --- a/plugins/bntl_utils/src/helper.rs +++ b/plugins/bntl_utils/src/helper.rs @@ -8,7 +8,7 @@ pub fn path_to_type_libraries(path: &Path) -> Vec> { .into_iter() .filter_map(|e| e.ok()) .filter(|e| e.file_type().is_file()) - .filter(|e| e.path().extension().map_or(false, |ext| ext == "bntl")) + .filter(|e| e.path().extension().is_some_and(|ext| ext == "bntl")) .filter_map(|e| TypeLibrary::load_from_file(e.path())) .collect::>() } -- cgit v1.3.1