From d50c2301d2b858713d924c072564994c12ad383b Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 9 May 2025 14:01:25 -0400 Subject: [Rust] Remove unneeded mut from Architecture trait signatures These are never expressed, just adds another unneeded constraint on the impl --- arch/msp430/src/architecture.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/msp430/src') diff --git a/arch/msp430/src/architecture.rs b/arch/msp430/src/architecture.rs index e5815c91..0ef6e449 100644 --- a/arch/msp430/src/architecture.rs +++ b/arch/msp430/src/architecture.rs @@ -194,7 +194,7 @@ impl Architecture for Msp430 { &self, data: &[u8], addr: u64, - il: &mut MutableLiftedILFunction, + il: &MutableLiftedILFunction, ) -> Option<(usize, bool)> { match msp430_asm::decode(data) { Ok(inst) => { @@ -226,7 +226,7 @@ impl Architecture for Msp430 { fn flag_group_llil<'a>( &self, _group: Self::FlagGroup, - _il: &'a mut MutableLiftedILFunction, + _il: &'a MutableLiftedILFunction, ) -> Option> { None } -- cgit v1.3.1