Replace deprecated functioncall

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-05-30 09:38:48 +02:00
parent 151e4d0aa8
commit cee7689e77

View file

@ -273,7 +273,7 @@ fn do_write_to<'a>(sink: &mut Write, id: DiaryId, entry: &FileLockEntry<'a>) ->
d = id.day(), d = id.day(),
H = id.hour(), H = id.hour(),
M = id.minute(), M = id.minute(),
text = entry.get_content().trim_right()) text = entry.get_content().trim_end())
.to_exit_code() .to_exit_code()
} }