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/merge.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/bntl_utils/src/merge.rs') diff --git a/plugins/bntl_utils/src/merge.rs b/plugins/bntl_utils/src/merge.rs index 454be10f..0a3b3377 100644 --- a/plugins/bntl_utils/src/merge.rs +++ b/plugins/bntl_utils/src/merge.rs @@ -101,12 +101,11 @@ fn merge_structures(s1: &Structure, s2: &Structure) -> Option> { for m in &s.members() { members .entry(m.offset) - .and_modify(|(existing_name, existing_ty)| { + .and_modify(|(_existing_name, existing_ty)| { // Update type if merge succeeds if let Some(merged) = merge_recursive(existing_ty, &m.ty.contents) { *existing_ty = merged; } - // Name collision: Keep existing (s1/first wins), ignoring m.name }) .or_insert_with(|| (m.name.clone(), m.ty.contents.to_owned())); } -- cgit v1.3.1