mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:15:42 +02:00
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:
@ -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()?;
|
||||
|
||||
|
@ -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()?;
|
||||
|
||||
|
Reference in New Issue
Block a user