mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Make clear we didn't accidentally forget to handle Results
This commit is contained in:
1 parent
155b14e865
commit
2e403a2d11
1 file changed
+3
-3
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user