summaryrefslogtreecommitdiff
path: root/plugins/bntl_utils/src/helper.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-17 20:30:44 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit65c217ae27e6b0abe26d5baea40f2bab695a3651 (patch)
tree162800e27c5dbe95eb187522b69dec936b4118bf /plugins/bntl_utils/src/helper.rs
parent37008b7fa16837d04c1658868646cad681cbe035 (diff)
[BNTL Utils] Fix misc clippy lints
Diffstat (limited to 'plugins/bntl_utils/src/helper.rs')
-rw-r--r--plugins/bntl_utils/src/helper.rs2
1 files changed, 1 insertions, 1 deletions
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<Ref<TypeLibrary>> {
.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::<Vec<_>>()
}