about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-05-06 16:28:39 +1000
committerGitHub <noreply@github.com>2025-05-06 16:28:39 +1000
commitd5c09b4aa6107fef442abfb3940ede9a628b296b (patch)
treeea337d6a496d665d2e24396d0a15db26a5e94d15 /compiler/rustc_driver_impl/src
parent5ca0053c794ec9c5a2c843785193bedeac53e4a8 (diff)
parentcbdd7134ff72aaf3679f4df2b2e4a0fe847edd06 (diff)
downloadrust-d5c09b4aa6107fef442abfb3940ede9a628b296b.tar.gz
rust-d5c09b4aa6107fef442abfb3940ede9a628b296b.zip
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.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions