mirror of
https://github.com/sharkdp/fd
synced 2024-09-05 16:23:47 +00:00
fix build for rust 1.20.0
This commit is contained in:
parent
9a45947234
commit
4dee8b7940
|
@ -102,8 +102,8 @@ impl SizeFilter {
|
|||
|
||||
pub fn is_within(&self, size: u64) -> bool {
|
||||
match self {
|
||||
SizeFilter::Max(limit) => size <= *limit,
|
||||
SizeFilter::Min(limit) => size >= *limit,
|
||||
&SizeFilter::Max(limit) => size <= limit,
|
||||
&SizeFilter::Min(limit) => size >= limit,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue