mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Further improve imports styling
By introducing `imports_granularity="Module"` format strategy, effectively groups imports from the same module into one line or block, improving maintainability and readability. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
@@ -24,8 +24,7 @@ use virtio_queue::DescriptorChain;
|
||||
use vm_memory::{Address, GuestMemory};
|
||||
use vm_virtio::{AccessPlatform, Translatable};
|
||||
|
||||
use super::defs;
|
||||
use super::{Result, VsockError};
|
||||
use super::{defs, Result, VsockError};
|
||||
use crate::get_host_address_range;
|
||||
|
||||
// The vsock packet header is defined by the C struct:
|
||||
|
||||
Reference in New Issue
Block a user