summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-05-30 09:38:41 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-05-30 10:09:43 +0200
commit151e4d0aa832d9f89a6dcb909b49dfa8a507f2c0 (patch)
tree5bca7ed365af2cdbc727af370d39930189f6a5a1
parentc27fec14bf76b665520a751dfe060b022aba13d7 (diff)
downloadimag-151e4d0aa832d9f89a6dcb909b49dfa8a507f2c0.zip
imag-151e4d0aa832d9f89a6dcb909b49dfa8a507f2c0.tar.gz
Replace deprecated functioncall
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--lib/entry/libimagentryview/src/builtin/stdout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/entry/libimagentryview/src/builtin/stdout.rs b/lib/entry/libimagentryview/src/builtin/stdout.rs
index a22eba0..c7ca0ae 100644
--- a/lib/entry/libimagentryview/src/builtin/stdout.rs
+++ b/lib/entry/libimagentryview/src/builtin/stdout.rs
@@ -66,7 +66,7 @@ impl Viewer for StdoutViewer {
if self.view_content {
let content = if self.trim_right {
- e.get_content().trim_right()
+ e.get_content().trim_end()
} else {
&e.get_content()
};