From 151e4d0aa832d9f89a6dcb909b49dfa8a507f2c0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 30 May 2019 09:38:41 +0200 Subject: [PATCH] Replace deprecated functioncall Signed-off-by: Matthias Beyer --- lib/entry/libimagentryview/src/builtin/stdout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entry/libimagentryview/src/builtin/stdout.rs b/lib/entry/libimagentryview/src/builtin/stdout.rs index a22eba0d..c7ca0aeb 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() };