Fix a bunch of future clippy warnings (#3586)

* Fix a bunch of future clippy warnings

* Fix a bunch of future clippy warnings
This commit is contained in:
JT
2021-06-10 07:08:12 +12:00
committed by GitHub
parent e8a2250ef8
commit 383e874166
86 changed files with 237 additions and 258 deletions

View File

@ -60,7 +60,7 @@ impl SubCommand {
}
fn display(model: &Model) -> Result<(), Box<dyn Error>> {
let mut app = Bar::from_model(&model)?;
let mut app = Bar::from_model(model)?;
enable_raw_mode()?;

View File

@ -60,7 +60,7 @@ impl SubCommand {
}
fn display(model: &Model) -> Result<(), Box<dyn Error>> {
let mut app = Line::from_model(&model)?;
let mut app = Line::from_model(model)?;
enable_raw_mode()?;