From 0ba19daa578112fd6bd39d8b163d506d7815b7b5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 6 Feb 2019 01:03:20 +0100 Subject: Strip whitespace on the right when printing Signed-off-by: Matthias Beyer --- bin/domain/imag-log/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3