all: address clippy lints
This commit is contained in:
parent
e5fd0fa192
commit
9e67158f47
29 changed files with 31 additions and 68 deletions
|
|
@ -147,7 +147,7 @@ impl LibInput {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn event(&self) -> Option<LibInputEvent> {
|
||||
pub fn event(&self) -> Option<LibInputEvent<'_>> {
|
||||
let res = unsafe { libinput_get_event(self.li) };
|
||||
if res.is_null() {
|
||||
None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue