mirror of
https://github.com/sharkdp/bat
synced 2026-08-09 19:51:48 +00:00
Fix all lints that are new with Rust 1.54
They are all of the following type: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
|
||||
|
||||
fn run_controller(inputs: Vec<Input>, config: &Config) -> Result<bool> {
|
||||
let assets = assets_from_cache_or_binary(config.use_custom_assets)?;
|
||||
let controller = Controller::new(&config, &assets);
|
||||
let controller = Controller::new(config, &assets);
|
||||
controller.run(inputs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user