mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-12 07:58:52 +00:00
Fix for Rust 1.37
This commit is contained in:
parent
522ab7a83c
commit
3e8d444c78
@ -137,7 +137,7 @@ impl App {
|
|||||||
});
|
});
|
||||||
|
|
||||||
match self.matches.values_of("file-name") {
|
match self.matches.values_of("file-name") {
|
||||||
Some(filenames) if filenames.len() != files.len() => {
|
Some(ref filenames) if filenames.len() != files.len() => {
|
||||||
return Err(format!("{} {}", filenames.len(), files.len()).into());
|
return Err(format!("{} {}", filenames.len(), files.len()).into());
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user