Skip to content

Commit 8c3695e

Browse files
committed
Run rustfmt on code
Forgot to do this before the last publish
1 parent 6798c44 commit 8c3695e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/table/runtime.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,11 @@ impl Time {
220220
impl fmt::Debug for Time {
221221
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
222222
write!(f, "{}-{}-{} ", self.year, self.month, self.day)?;
223-
write!(f, "{}:{}:{}.{} ", self.hour, self.minute, self.second, self.nanosecond)?;
223+
write!(
224+
f,
225+
"{}:{}:{}.{} ",
226+
self.hour, self.minute, self.second, self.nanosecond
227+
)?;
224228
write!(f, "{} {:?}", self.time_zone, self.daylight)
225229
}
226230
}

uefi-test-runner/src/proto/media/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ pub fn test(bt: &BootServices) {
1616
info
1717
} else {
1818
// We've reached the end of the directory
19-
break
19+
break;
2020
}
21-
},
21+
}
2222
Err(error) => {
2323
// Buffer is not big enough, allocate a bigger one and try again.
2424
let min_size = error.data().unwrap();
2525
buffer.resize(min_size, 0);
2626
continue;
27-
},
27+
}
2828
};
2929
info!("Root directory entry: {:?}", file_info);
3030
}

0 commit comments

Comments
 (0)