From 29b62677dad48aa4d55ad2dae5d176d9880216bd Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Tue, 16 Apr 2024 19:32:04 -0400 Subject: Fix clippy warnings and run rustfmt --- rust/src/llil/instruction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/llil') 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> { -- cgit v1.3.1