vhost_user_block: trim qualified paths

Import the std modules used in the crate instead of spelling the full
paths at every use site.

Signed-off-by: Henry Hrvoje Tonkovac <htonkovac@gmail.com>
Assisted-by: Claude:Opus-4.8
This commit is contained in:
Henry Hrvoje Tonkovac
2026-06-16 12:01:37 +02:00
committed by Rob Bradford
parent 11fab725ae
commit 11bacdee46

View File

@@ -48,8 +48,8 @@ const BLK_SIZE: u32 = 512;
// and the overhead of the emulation layer. // and the overhead of the emulation layer.
const POLL_QUEUE_US: u128 = 50; const POLL_QUEUE_US: u128 = 50;
type Result<T> = std::result::Result<T, Error>; type Result<T> = result::Result<T, Error>;
type VhostUserBackendResult<T> = std::result::Result<T, std::io::Error>; type VhostUserBackendResult<T> = io::Result<T>;
#[derive(Error, Debug)] #[derive(Error, Debug)]
enum Error { enum Error {