clippey
This commit is contained in:
parent
bb097cd3d5
commit
66467ee8af
1 changed files with 1 additions and 1 deletions
|
@ -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<Event<'a>> {
|
||||
pub fn wait_event(&mut self, timeout: f64) -> Option<Event<'_>> {
|
||||
let event = unsafe { &*ffi::mpv_wait_event(self.0.as_ptr(), timeout) };
|
||||
match event.event_id {
|
||||
0 => None,
|
||||
|
|
Loading…
Reference in a new issue