all: address clippy lints
This commit is contained in:
parent
e5fd0fa192
commit
9e67158f47
29 changed files with 31 additions and 68 deletions
|
|
@ -281,7 +281,7 @@ impl UdevEnumerate {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_list_entry(&mut self) -> Result<Option<UdevListEntry>, UdevError> {
|
||||
pub fn get_list_entry(&mut self) -> Result<Option<UdevListEntry<'_>>, UdevError> {
|
||||
let res = unsafe { udev_enumerate_get_list_entry(self.enumerate) };
|
||||
if res.is_null() {
|
||||
let err = Errno::default();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue