summaryrefslogtreecommitdiff
path: root/arch/msp430/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-09 14:01:25 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commitd50c2301d2b858713d924c072564994c12ad383b (patch)
treec01b5e475143d8f7a63acda260a6d10c7ff24ada /arch/msp430/src
parent2a9beeec15d3f32312a0c4f8ad5ddbcfcbc97a89 (diff)
[Rust] Remove unneeded mut from Architecture trait signatures
These are never expressed, just adds another unneeded constraint on the impl
Diffstat (limited to 'arch/msp430/src')
-rw-r--r--arch/msp430/src/architecture.rs4
1 files changed, 2 insertions, 2 deletions
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<MutableLiftedILExpr<'a, ValueExpr>> {
None
}