From 1dbe370cb0a740c42e5688724684e363ed5bd92e Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 14 Feb 2026 18:36:48 +0000 Subject: fair enough on those warnings --- src/real_mode/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/real_mode/display.rs') 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 -- cgit v1.1