Skip to content

Commit 796b8ac

Browse files
committed
[Rust] Fix typo for MediumLevelILFunction::live_instruction_for_variable param
1 parent ea08356 commit 796b8ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/medium_level_il/function.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,15 +519,15 @@ impl MediumLevelILFunction {
519519
pub fn live_instruction_for_variable(
520520
&self,
521521
variable: &Variable,
522-
include_last_user: bool,
522+
include_last_use: bool,
523523
) -> Array<MediumLevelILInstruction> {
524524
let mut count = 0;
525525
let raw_var = BNVariable::from(variable);
526526
let uses = unsafe {
527527
BNGetMediumLevelILLiveInstructionsForVariable(
528528
self.handle,
529529
&raw_var,
530-
include_last_user,
530+
include_last_use,
531531
&mut count,
532532
)
533533
};

0 commit comments

Comments
 (0)