Make clear we didn't accidentally forget to handle Results

This commit is contained in:
Sebastian Thiel authored and David Peter committed 2019-01-09 23:41:29 +01:00
1 parent 155b14e865
commit 2e403a2d11
1 file changed
+3 -3
+3 -3
View File
@@ -98,7 +98,7 @@ impl<'a> Printer<'a> {
"─".repeat(3 * 8 + 1),
"─".repeat(8),
"─".repeat(8)
);
).ok();
}
fn footer(&mut self) {
@@ -110,7 +110,7 @@ impl<'a> Printer<'a> {
"─".repeat(3 * 8 + 1),
"─".repeat(8),
"─".repeat(8)
);
).ok();
}
fn print_byte(&mut self, b: u8) -> io::Result<()> {
@@ -160,7 +160,7 @@ impl<'a> Printer<'a> {
write!(self.stdout, "{}", b.color().paint(chr)).ok();
if idx == 8 {
write!(self.stdout, "┊");
write!(self.stdout, "┊").ok();
}
idx += 1;