Fix unnecessary syntax
This commit is contained in:
2
build.rs
2
build.rs
@@ -45,7 +45,7 @@ fn scan_folder(loc: &Path) -> (HashMap<String, Vec<String>>, Vec<String>) {
|
||||
}
|
||||
|
||||
// Write folder/file information to output file
|
||||
fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), (Error)> {
|
||||
fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), Error> {
|
||||
let (folders, mut files) = scan_folder(loc);
|
||||
let mut folder_it:Vec<_> = folders.keys().collect();
|
||||
|
||||
|
||||
@@ -45,9 +45,7 @@ fn page_table_lock() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
unsafe {
|
||||
crate::arch::interrupt::pause();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user