diff options
Diffstat (limited to 'src/long_mode')
| -rw-r--r-- | src/long_mode/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index b9023ed..f215d07 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -4449,7 +4449,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 |
