From 2845ba6208ce3c29998a48df5073ed15a11ead77 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Mon, 14 Feb 2022 18:41:40 -0500 Subject: Rust: Minor tweaks to 2890; merge architecture::InstructionTextToken and disassembly::InstructionTextToken; update examples --- rust/src/binaryview.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/src/binaryview.rs') diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index 6d52fa88..5209f744 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -784,7 +784,7 @@ pub trait BinaryViewExt: BinaryViewBase { /// repeatedly to get more lines of linear disassembly. /// /// # Arguments - /// * `pos` - Position to start retrieving linear disassembly lines from + /// * `pos` - Position to retrieve linear disassembly lines from fn get_next_linear_disassembly_lines( &self, pos: &mut LinearViewCursor, @@ -801,14 +801,14 @@ pub trait BinaryViewExt: BinaryViewBase { result } - /// Retrieves a list of the next disassembly lines. + /// Retrieves a list of the previous disassembly lines. /// /// `get_previous_linear_disassembly_lines` retrieves an [Array] over [LinearDisassemblyLine] objects for the /// previous disassembly lines, and updates the [LinearViewCursor] passed in. This function can be called /// repeatedly to get more lines of linear disassembly. /// /// # Arguments - /// * `pos` - Position to start retrieving linear disassembly lines from + /// * `pos` - Position to retrieve linear disassembly lines relative to fn get_previous_linear_disassembly_lines( &self, pos: &mut LinearViewCursor, -- cgit v1.3.1