Closed Philippe-Cholet closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.53%. Comparing base (
6814180
) to head (fa94ba1
). Report is 79 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Type of
i
defaults toi32
whenusize
should be used. It's only a problem if this function is called with two iterators longer thani32::MAX
. It seems unlikely to me but who knows?i32
should not be the default integer type in the library.usize
would have more sense so I add the lint as warning (for the library only, it's okay in tests and benchmarks).See lint doc: https://rust-lang.github.io/rust-clippy/master/index.html#/default_numeric_fallback