Replace deprecated functioncall

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

View file

@ -66,7 +66,7 @@ impl Viewer for StdoutViewer {
if self.view_content { if self.view_content {
let content = if self.trim_right { let content = if self.trim_right {
e.get_content().trim_right() e.get_content().trim_end()
} else { } else {
&e.get_content() &e.get_content()
}; };