mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-21 19:45:11 +00:00
Avoid redundant closures when calling methods
This commit is contained in:
parent
1dc14eaff1
commit
bbea87db91
@ -62,7 +62,7 @@ fn main() {
|
||||
}
|
||||
|
||||
let args: Vec<_> = env::args_os().skip(1).collect();
|
||||
match Options::parse(args.iter().map(|e| e.as_ref()), &LiveVars) {
|
||||
match Options::parse(args.iter().map(std::convert::AsRef::as_ref), &LiveVars) {
|
||||
OptionsResult::Ok(options, mut input_paths) => {
|
||||
|
||||
// List the current directory by default.
|
||||
|
Loading…
Reference in New Issue
Block a user