From cee7689e77e14e55fb624149cdefe1fe0e1f4e1a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 30 May 2019 09:38:48 +0200 Subject: [PATCH] Replace deprecated functioncall 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 1f0a4d42..1942a1f2 100644 --- a/bin/domain/imag-log/src/main.rs +++ b/bin/domain/imag-log/src/main.rs @@ -273,7 +273,7 @@ fn do_write_to<'a>(sink: &mut Write, id: DiaryId, entry: &FileLockEntry<'a>) -> d = id.day(), H = id.hour(), M = id.minute(), - text = entry.get_content().trim_right()) + text = entry.get_content().trim_end()) .to_exit_code() }