summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-05-30 09:38:48 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-05-30 10:09:45 +0200
commitcee7689e77e14e55fb624149cdefe1fe0e1f4e1a (patch)
tree055d1e69a979d15ca895ef860a8e2c25e38e1847
parent151e4d0aa832d9f89a6dcb909b49dfa8a507f2c0 (diff)
downloadimag-cee7689e77e14e55fb624149cdefe1fe0e1f4e1a.zip
imag-cee7689e77e14e55fb624149cdefe1fe0e1f4e1a.tar.gz
Replace deprecated functioncall
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/domain/imag-log/src/main.rs2
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 1f0a4d4..1942a1f 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()
}