diff --git a/src/gui_window.rs b/src/gui_window.rs index 7b5ecfc..28eb6e0 100644 --- a/src/gui_window.rs +++ b/src/gui_window.rs @@ -37,7 +37,7 @@ impl GuiWindow { } } - pub fn get_buffer(&mut self) -> Buffer, Rc> { + pub fn get_buffer(&mut self) -> Buffer<'_, Rc, Rc> { self.surface.buffer_mut().unwrap() } pub(crate) fn request_redraw(&self) {