Skip to content

Commit c995e08

Browse files
Fix formatting
Result of `cargo xtask fmt`.
1 parent 8a8054c commit c995e08

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

uefi-test-runner/src/proto/console/serial.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use crate::reconnect_serial_to_console;
2-
use uefi::boot;
32
use uefi::proto::console::serial::{ControlBits, Serial};
4-
use uefi::{Result, ResultExt, Status};
3+
use uefi::{boot, Result, ResultExt, Status};
54

65
// For the duration of this function, the serial device is opened in
76
// exclusive mode. That means logs will not work, which means we should

xtask/src/qemu.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,13 @@ impl OvmfPaths {
102102
);
103103
}
104104
} else {
105-
let prebuilt = Prebuilt::fetch(Source {
106-
tag: OVMF_PREBUILT_TAG,
107-
sha256: OVMF_PREBUILT_HASH,
108-
}, OVMF_PREBUILT_DIR)?;
105+
let prebuilt = Prebuilt::fetch(
106+
Source {
107+
tag: OVMF_PREBUILT_TAG,
108+
sha256: OVMF_PREBUILT_HASH,
109+
},
110+
OVMF_PREBUILT_DIR,
111+
)?;
109112

110113
Ok(prebuilt.get_file(arch.into(), file_type))
111114
}

0 commit comments

Comments
 (0)