summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSharif Haason <ssh128@scarletmail.rutgers.edu>2022-11-27 17:19:48 -0500
committerSharif Haason <ssh128@scarletmail.rutgers.edu>2022-11-27 17:19:48 -0500
commit5e3c49f933d834bd9874b6042ce5205145461af2 (patch)
tree6183dbdc52c113d9a3c6be3f5a93420446155b7d
parentfc794b290c5f00c86633da86d1a058982660b694 (diff)
`cargo fmt`
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6cb102b..42878d2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -581,7 +581,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
// if less are read, that indicates end of file after
if is_empty {
self.print_header()?;
- is_empty = false;
+ is_empty = false;
}
// perform second check on read
@@ -601,7 +601,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
}
if is_empty {
self.print_header()?;
- is_empty = false;
+ is_empty = false;
}
// squeeze is active, check if the line is the same