all: fix clippy lints
This commit is contained in:
parent
daf03b423d
commit
58cab8894c
6 changed files with 9 additions and 9 deletions
|
|
@ -131,7 +131,7 @@ fn reopen(fd: c::c_int, need_primary: bool) -> Result<Rc<OwnedFd>, DrmError> {
|
|||
}
|
||||
device_node_name(fd)?
|
||||
};
|
||||
match uapi::open(&path, c::O_RDWR | c::O_CLOEXEC, 0) {
|
||||
match uapi::open(path, c::O_RDWR | c::O_CLOEXEC, 0) {
|
||||
Ok(f) => Ok(Rc::new(f)),
|
||||
Err(e) => Err(DrmError::ReopenNode(e.into())),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue