diff --git a/src/mpv.rs b/src/mpv.rs index d7df571..9ad00cc 100644 --- a/src/mpv.rs +++ b/src/mpv.rs @@ -43,7 +43,7 @@ impl Handle { Error::from_return_code(unsafe { ffi::mpv_initialize(self.0.as_ptr()) }) } - pub fn wait_event<'a>(&'a mut self, timeout: f64) -> Option> { + pub fn wait_event(&mut self, timeout: f64) -> Option> { let event = unsafe { &*ffi::mpv_wait_event(self.0.as_ptr(), timeout) }; match event.event_id { 0 => None,