summaryrefslogtreecommitdiff
path: root/rust/src/binaryview.rs
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-02-14 18:41:40 -0500
committerKyleMiles <krm504@nyu.edu>2022-02-14 18:45:16 -0500
commit2845ba6208ce3c29998a48df5073ed15a11ead77 (patch)
tree7a50af1833dae6d4acaba420f714374fa8421dff /rust/src/binaryview.rs
parent6cd49edb317112acc73f7caeb285f4134a472d72 (diff)
Rust: Minor tweaks to 2890; merge architecture::InstructionTextToken and disassembly::InstructionTextToken; update examples
Diffstat (limited to 'rust/src/binaryview.rs')
-rw-r--r--rust/src/binaryview.rs6
1 files changed, 3 insertions, 3 deletions
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,