template: run clippy --fix

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
Manos Pitsidianakis 2025-07-08 11:28:57 +03:00 committed by Stefano Garzarella
parent 3d4dc8e05f
commit a548e4d529

View File

@ -49,7 +49,7 @@ pub(crate) enum Error {
impl convert::From<Error> for io::Error {
fn from(e: Error) -> Self {
io::Error::new(io::ErrorKind::Other, e)
io::Error::other(e)
}
}
@ -210,7 +210,7 @@ impl VhostUserBackendMut for VhostUserFooBackend {
}
_ => {
warn!("unhandled device_event: {}", device_event);
warn!("unhandled device_event: {device_event}");
return Err(Error::HandleEventUnknown.into());
}
}