summaryrefslogtreecommitdiff
path: root/rust/src/binary_view/reader.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-12 12:06:22 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commitd5bac712c9fa269aaeb016648116d3147edf3855 (patch)
tree3fe6030d2576883b1762578bcd92ea8b450bf50a /rust/src/binary_view/reader.rs
parent3b14d1605cf9ea638a0d058911a8c1e233a9f70d (diff)
[Rust] Misc cleanup
Diffstat (limited to 'rust/src/binary_view/reader.rs')
-rw-r--r--rust/src/binary_view/reader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/binary_view/reader.rs b/rust/src/binary_view/reader.rs
index 7b49f28d..685914e2 100644
--- a/rust/src/binary_view/reader.rs
+++ b/rust/src/binary_view/reader.rs
@@ -68,12 +68,12 @@ impl BinaryReader {
unsafe { BNSetBinaryReaderVirtualBase(self.handle, virtual_base_addr) }
}
- /// Prefer using [crate::reader::BinaryReader::seek] over this.
+ /// Prefer using [BinaryReader::seek] over this.
pub fn seek_to_offset(&mut self, offset: u64) {
unsafe { BNSeekBinaryReader(self.handle, offset) }
}
- /// Prefer using [crate::reader::BinaryReader::seek] over this.
+ /// Prefer using [BinaryReader::seek] over this.
pub fn seek_to_relative_offset(&mut self, offset: i64) {
unsafe { BNSeekBinaryReaderRelative(self.handle, offset) }
}