Rollup merge of #139773 - thaliaarchi:vec-into-iter-last, r=workingjubilee

Implement `Iterator::last` for `vec::IntoIter`

Avoid iterating everything when we have random access to the last element.
This commit is contained in:
Stuart Cook 2025-05-06 16:28:39 +10:00 committed by GitHub
commit 1cc33c8c35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available