Replace deprecated functioncall
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
c27fec14bf
commit
151e4d0aa8
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue