mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 00:12:57 +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") {
|
||||
Some(filenames) if filenames.len() != files.len() => {
|
||||
Some(ref filenames) if filenames.len() != files.len() => {
|
||||
return Err(format!("{} {}", filenames.len(), files.len()).into());
|
||||
}
|
||||
_ => {}
|
||||
|
Loading…
Reference in New Issue
Block a user