Skip to content
Myr

fix build for rust 1.20.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alexandru Macovei · committed by David Peter · parent 9a45947 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/internal.rs+2 added-2 removed
100 unmodified lines
101 }102103 pub fn is_within(&self, size: u64) -> bool {104 match self {105 SizeFilter::Max(limit) => size <= *limit,106 SizeFilter::Min(limit) => size >= *limit,105 &SizeFilter::Max(limit) => size <= limit,106 &SizeFilter::Min(limit) => size >= limit,107 }108 }109}110
369 unmodified lines