Skip to content

Commit 51c8692

Browse files
committed
cleanup: remove redundant std::result::Result imports
No functional change. Just cleanup. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
1 parent 5585532 commit 51c8692

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/vmm/src/utils/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use std::fs::{File, OpenOptions};
1414
use std::num::Wrapping;
1515
use std::os::unix::fs::OpenOptionsExt;
1616
use std::path::Path;
17-
use std::result::Result;
1817

1918
use libc::O_NONBLOCK;
2019

src/vmm/src/vstate/interrupts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl<'a> Persist<'a> for MsixVectorGroup {
187187
fn restore(
188188
constructor_args: Self::ConstructorArgs,
189189
state: &Self::State,
190-
) -> std::result::Result<Self, Self::Error> {
190+
) -> Result<Self, Self::Error> {
191191
let mut vectors = Vec::with_capacity(state.len());
192192

193193
for gsi in state {

0 commit comments

Comments
 (0)