Rollup merge of #123947 - zopsicle:vec_deque-Iter-as_slices, r=Amanieu

Add vec_deque::Iter::as_slices and friends

Add the following methods, that work similarly to VecDeque::as_slices:

 - alloc::collections::vec_deque::Iter::as_slices
 - alloc::collections::vec_deque::IterMut::into_slices
 - alloc::collections::vec_deque::IterMut::as_slices
 - alloc::collections::vec_deque::IterMut::as_mut_slices

Obtaining slices from a VecDeque iterator was not previously possible.
This commit is contained in:
Matthias Krüger 2024-11-19 22:24:43 +01:00 committed by GitHub
commit 3773a8d8f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available