Apply cargo fmt to the whole repo

This commit is contained in:
oddcoder
2020-07-19 21:22:17 +02:00
parent 890a9ed033
commit 37a462de5d
7 changed files with 35 additions and 26 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ impl Linker {
pub fn unload(&mut self, libspace: usize) {
if let Some(lib) = self.lib_spaces.remove(&libspace) {
for (_, mmap) in lib.mmaps {
unsafe{sys_mman::munmap(mmap.as_mut_ptr() as *mut c_void, mmap.len())};
unsafe { sys_mman::munmap(mmap.as_mut_ptr() as *mut c_void, mmap.len()) };
}
}
}