Skip to content

Commit a93ce32

Browse files
committed
Final formatting pass
1 parent ad34510 commit a93ce32

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/fat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::file_data_source::FileDataSource;
22
use anyhow::Context;
3-
use fatfs::{Dir};
3+
use fatfs::Dir;
44
use std::fs::File;
55
use std::{collections::BTreeMap, fs, path::Path};
66

src/lib.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ pub use bios::BiosBoot;
2424
mod fat;
2525
mod file_data_source;
2626

27-
use std::{
28-
collections::BTreeMap,
29-
fs,
30-
io::Write,
31-
path::{Path},
32-
};
27+
use std::{collections::BTreeMap, fs, io::Write, path::Path};
3328

3429
use anyhow::Context;
3530

@@ -84,7 +79,7 @@ impl DiskImageBuilder {
8479
let bytes = json.as_bytes();
8580
self.set_file_source(CONFIG_FILE_NAME, FileDataSource::Data(bytes.to_vec()))
8681
}
87-
82+
8883
/// Add a file source to the disk image
8984
pub fn set_file_source(&mut self, destination: &str, source: FileDataSource) -> &mut Self {
9085
let destination = destination.to_string();

0 commit comments

Comments
 (0)