net_util: trim qualified paths

Import the std modules used across 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-06 20:43:35 +02:00
committed by Rob Bradford
parent 4b671954a0
commit 0b3af8aed2
6 changed files with 24 additions and 23 deletions

View File

@@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause
use std::result;
use log::{debug, error, info, warn};
use thiserror::Error;
use virtio_bindings::virtio_net::{
@@ -45,7 +47,7 @@ pub enum Error {
QueueEnableNotification(#[source] virtio_queue::Error),
}
type Result<T> = std::result::Result<T, Error>;
type Result<T> = result::Result<T, Error>;
#[repr(C, packed)]
#[derive(Debug, Clone, Copy, Default)]