diff options
| author | bors <bors@rust-lang.org> | 2023-02-18 20:12:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-18 20:12:35 +0000 |
| commit | 4507fdaaa27ea2fb59a41df2ce7d1f290da53dae (patch) | |
| tree | cdec774afdda97f68ca74ade01ec93274deb65c7 /tests/rustdoc-js-std/parser-weird-queries.js | |
| parent | 53709aedba198874ee50769f19f1e9ab00798bb5 (diff) | |
| parent | ccba6c51511a86cd36af52dc4f51cd3a0df95909 (diff) | |
| download | rust-4507fdaaa27ea2fb59a41df2ce7d1f290da53dae.tar.gz rust-4507fdaaa27ea2fb59a41df2ce7d1f290da53dae.zip | |
Auto merge of #106241 - Sp00ph:vec_deque_iter_methods, r=the8472
Implement more methods for `vec_deque::IntoIter` This implements a couple `Iterator` methods on `vec_deque::IntoIter` (`(try_)fold`, `(try_)rfold` `advance_(back_)by`, `next_chunk`, `count` and `last`) to allow these to be more efficient than their default implementations, also allowing many other `Iterator` methods that use these under the hood to take advantage of these manual implementations. `vec::IntoIter` has similar implementations for many of these methods. This PR does not yet implement `TrustedRandomAccess` and friends, as I'm not very familiar with the required safety guarantees. r? `@the8472` (since you also took over my last PR)
Diffstat (limited to 'tests/rustdoc-js-std/parser-weird-queries.js')
0 files changed, 0 insertions, 0 deletions
