summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
}