1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-31 10:11:07 +00:00

Fix for Rust 1.37

This commit is contained in:
sharkdp 2020-03-26 10:01:02 +01:00
parent 522ab7a83c
commit 3e8d444c78

View File

@ -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());
}
_ => {}