mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
Implement `Iterator::last` for `vec::IntoIter` Avoid iterating everything when we have random access to the last element.
Implement `Iterator::last` for `vec::IntoIter` Avoid iterating everything when we have random access to the last element.