mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 11:22:30 +01:00
inline format arguments
In a few cases, removed the unneeded `&` - this causes a minor slowdown because compiler cannot eliminate those (yet).
This commit is contained in:
committed by
Martin Nordholts
parent
9824090654
commit
d9fbd18541
@@ -50,7 +50,7 @@ fn clear_asset(path: PathBuf, description: &str) {
|
||||
println!("skipped (not present)");
|
||||
}
|
||||
Err(err) => {
|
||||
println!("could not remove the cache file {:?}: {}", &path, err);
|
||||
println!("could not remove the cache file {path:?}: {err}");
|
||||
}
|
||||
Ok(_) => println!("okay"),
|
||||
}
|
||||
|
Reference in New Issue
Block a user