mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-08 15:30:37 +00:00
Remove warnings rust 1.33
This commit is contained in:
parent
d89189228a
commit
92329857fa
@ -96,7 +96,7 @@ fn main() {
|
||||
rustbox.set_output_mode(OutputMode::EightBit);
|
||||
|
||||
for (index, line) in state.lines.iter().enumerate() {
|
||||
let clean = line.trim_right_matches(|c: char| c.is_whitespace());
|
||||
let clean = line.trim_end_matches(|c: char| c.is_whitespace());
|
||||
|
||||
if clean.len() > 0 {
|
||||
let formatted = format!("{}\n", line).to_string();
|
||||
|
Loading…
Reference in New Issue
Block a user