mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
da2544bfbe
Assume the returned value in `.filter(…).count()` Similar to how this helps in `slice::Iter::position`, LLVM sometimes loses track of how high this can get, so for `TrustedLen` iterators tell it what the upper bound is.