aboutsummaryrefslogtreecommitdiff
path: root/src/real_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-02-14 18:36:48 +0000
committeriximeow <me@iximeow.net>2026-02-14 18:36:48 +0000
commit1dbe370cb0a740c42e5688724684e363ed5bd92e (patch)
tree22940007c3496942777bf216a0adf89e6d1159ed /src/real_mode/display.rs
parentb7de8016c51f8d48bb3f91eb6d7be191d6b46d55 (diff)
fair enough on those warnings
Diffstat (limited to 'src/real_mode/display.rs')
-rw-r--r--src/real_mode/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs
index 9607e9d..e686b0a 100644
--- a/src/real_mode/display.rs
+++ b/src/real_mode/display.rs
@@ -2996,7 +2996,7 @@ mod buffer_sink {
/// into.
///
/// SAFETY: callers must print at most one instruction into this handle.
- unsafe fn write_handle(&mut self) -> yaxpeax_arch::display::InstructionTextSink {
+ unsafe fn write_handle<'buf>(&'buf mut self) -> yaxpeax_arch::display::InstructionTextSink<'buf> {
self.content.clear();
// Safety: `content` was just cleared, so writing begins at the start of the buffer.
// `content`is large enough to hold a fully-formatted instruction (see