fix: clippy cleanup

This commit is contained in:
Nova
2025-06-29 20:01:05 -07:00
parent 0abc38c83a
commit 07e9474c79
6 changed files with 13 additions and 8 deletions

View File

@@ -152,7 +152,7 @@ pub fn process_input() {
a.handler_order
.lock()
.iter()
.any(|h| h.ptr_eq(&Arc::downgrade(&handler)))
.any(|h| h.ptr_eq(&Arc::downgrade(handler)))
})
// filter out methods without the proper alias
.filter_map(|m| {
@@ -168,7 +168,7 @@ pub fn process_input() {
a.set_enabled(true);
})
// serialize the data
.map(|(a, m)| (a.clone(), m.serialize(a.get_id(), &handler)))
.map(|(a, m)| (a.clone(), m.serialize(a.get_id(), handler)))
.unzip::<_, _, Vec<_>, Vec<_>>();
drop(ser_span);