Skip to content

Commit e3dd6fc

Browse files
committed
Fix unused import
1 parent ac934c4 commit e3dd6fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ mod file_data_source;
2727
use std::{
2828
borrow::Cow,
2929
collections::BTreeMap,
30-
fs,
3130
path::{Path, PathBuf},
3231
};
3332

@@ -157,7 +156,7 @@ impl DiskImageBuilder {
157156
#[cfg(feature = "uefi")]
158157
/// Create a folder containing the needed files for UEFI TFTP/PXE booting.
159158
pub fn create_uefi_tftp_folder(&self, tftp_path: &Path) -> anyhow::Result<()> {
160-
use std::ops::Deref;
159+
use std::{fs, ops::Deref};
161160

162161
const UEFI_TFTP_BOOT_FILENAME: &str = "bootloader";
163162
let bootloader_path = Path::new(env!("UEFI_BOOTLOADER_PATH"));

0 commit comments

Comments
 (0)