summaryrefslogtreecommitdiff
path: root/rust/src/llil
diff options
context:
space:
mode:
authorMichael Krasnitski <michael.krasnitski@gmail.com>2024-04-16 19:32:04 -0400
committerKyle Martin <krm504@nyu.edu>2024-05-09 13:11:41 -0400
commit29b62677dad48aa4d55ad2dae5d176d9880216bd (patch)
treef205a5f4ebb7e71ea132fe06a7076c70616d3c62 /rust/src/llil
parent608f261e6bca5869e748d4509da92a5717dce75d (diff)
Fix clippy warnings and run rustfmt
Diffstat (limited to 'rust/src/llil')
-rw-r--r--rust/src/llil/instruction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/llil/instruction.rs b/rust/src/llil/instruction.rs
index 469c10fb..62e50453 100644
--- a/rust/src/llil/instruction.rs
+++ b/rust/src/llil/instruction.rs
@@ -99,7 +99,7 @@ where
let expr_idx =
unsafe { BNGetLowLevelILIndexForInstruction(self.function.handle, self.instr_idx) };
let op = unsafe { BNGetLowLevelILByIndex(self.function.handle, expr_idx) };
- return op.address;
+ op.address
}
pub fn info(&self) -> InstrInfo<'func, A, M, NonSSA<V>> {