diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-02-06 01:03:20 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-02-11 03:52:04 +0100 |
commit | 0ba19daa578112fd6bd39d8b163d506d7815b7b5 (patch) | |
tree | 25b695bd4fbac8908b6a4f49f1d6eb0d0228f714 | |
parent | 90eaeb642af712c6dc556ad8342e6d218c892cc1 (diff) |
Strip whitespace on the right when printing
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | bin/domain/imag-log/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs index a96bf5a3..2f985e6a 100644 --- a/bin/domain/imag-log/src/main.rs +++ b/bin/domain/imag-log/src/main.rs @@ -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 |