input: run clippy --fix

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
Manos Pitsidianakis 2025-07-08 11:24:11 +03:00 committed by Stefano Garzarella
parent c0051585e4
commit 909de1ae7c
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ pub(crate) fn start_backend<D: 'static + InputDevice + Send + Sync>(
.zip(config.event_list.iter().cloned())
.enumerate()
{
let name = format!("vhu-vsock-input-{:?}", event);
let name = format!("vhu-vsock-input-{event:?}");
let sender = senders.clone();
let handle = thread::Builder::new()
.name(name.clone())

View File

@ -117,7 +117,7 @@ type Result<T> = std::result::Result<T, VuInputError>;
impl From<VuInputError> for io::Error {
fn from(e: VuInputError) -> Self {
Self::new(io::ErrorKind::Other, e)
Self::other(e)
}
}