all: address clippy lints
This commit is contained in:
parent
956d3f79f7
commit
8c49ecd5fe
3 changed files with 3 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ enum AsyncError {
|
||||||
|
|
||||||
impl From<AsyncError> for io::Error {
|
impl From<AsyncError> for io::Error {
|
||||||
fn from(value: AsyncError) -> Self {
|
fn from(value: AsyncError) -> Self {
|
||||||
io::Error::new(ErrorKind::Other, value)
|
io::Error::other(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -935,7 +935,6 @@ impl Input {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tc.round_trip().await;
|
tc.round_trip().await;
|
||||||
let x = data.borrow_mut().clone();
|
data.borrow_mut().clone()
|
||||||
x
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1154,7 +1154,6 @@ impl Randr {
|
||||||
output.brightness = Some(msg.lux);
|
output.brightness = Some(msg.lux);
|
||||||
});
|
});
|
||||||
tc.round_trip().await;
|
tc.round_trip().await;
|
||||||
let x = data.borrow_mut().clone();
|
data.borrow_mut().clone()
|
||||||
x
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue