Strip whitespace on the right when printing

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-02-06 01:03:20 +01:00
parent 90eaeb642a
commit 0ba19daa57
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ fn show(rt: &Runtime) {
d = id.day(),
H = id.hour(),
M = id.minute(),
text = entry.get_content())
text = entry.get_content().trim_right())
.to_exit_code()?;
let _ = rt