We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac934c4 commit e3dd6fcCopy full SHA for e3dd6fc
src/lib.rs
@@ -27,7 +27,6 @@ mod file_data_source;
27
use std::{
28
borrow::Cow,
29
collections::BTreeMap,
30
- fs,
31
path::{Path, PathBuf},
32
};
33
@@ -157,7 +156,7 @@ impl DiskImageBuilder {
157
156
#[cfg(feature = "uefi")]
158
/// Create a folder containing the needed files for UEFI TFTP/PXE booting.
159
pub fn create_uefi_tftp_folder(&self, tftp_path: &Path) -> anyhow::Result<()> {
160
- use std::ops::Deref;
+ use std::{fs, ops::Deref};
161
162
const UEFI_TFTP_BOOT_FILENAME: &str = "bootloader";
163
let bootloader_path = Path::new(env!("UEFI_BOOTLOADER_PATH"));
0 commit comments