mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
d68c980c22
Added a `# Panics` section to `Iterator::last` to match `Iterator::count`, after the change made in Rust 1.92.0 where now `std::iter::Repeat` panics in these methods instead of doing an infinite `loop`. Cites https://github.com/rust-lang/rust/issues/149707