mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
cargo fmt
This commit is contained in:
1 parent
fc794b290c
commit
5e3c49f933
1 file changed
+2
-2
+2
-2
@@ -581,7 +581,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
|
|||||||
// if less are read, that indicates end of file after
|
// if less are read, that indicates end of file after
|
||||||
if is_empty {
|
if is_empty {
|
||||||
self.print_header()?;
|
self.print_header()?;
|
||||||
is_empty = false;
|
is_empty = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// perform second check on read
|
// perform second check on read
|
||||||
@@ -601,7 +601,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
|
|||||||
}
|
}
|
||||||
if is_empty {
|
if is_empty {
|
||||||
self.print_header()?;
|
self.print_header()?;
|
||||||
is_empty = false;
|
is_empty = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// squeeze is active, check if the line is the same
|
// squeeze is active, check if the line is the same
|
||||||
|
|||||||
Reference in new issue
Block a user