summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/recite.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/recite.rs b/src/recite.rs
index 1beee96..12c98ae 100644
--- a/src/recite.rs
+++ b/src/recite.rs
@@ -221,6 +221,9 @@ impl Meter {
file.write(out.as_bytes())?;
}
+ // Clear out
+ out.clear();
+
// Return the exit status
Ok(status)
}
@@ -246,6 +249,9 @@ impl Meter {
file.write(out.as_bytes())?;
}
+ // Clear out
+ out.clear();
+
// Return the exit status
Ok(status)
}