add cargo fmt in Makefile, and exec make fmt

This commit is contained in:
Yu Chen 2022-05-20 08:40:09 +08:00
parent ad6f19bd22
commit fc19596945
8 changed files with 44 additions and 32 deletions

View file

@ -24,7 +24,9 @@ impl BlockDevice for BlockFile {
assert_eq!(file.write(buf).unwrap(), BLOCK_SZ, "Not a complete block!");
}
fn handle_irq(&self) { unimplemented!(); }
fn handle_irq(&self) {
unimplemented!();
}
}
fn main() {