about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorchloekek <chloekek@use.startmail.com>2024-04-15 00:23:05 +0200
committerchloekek <chloekek@use.startmail.com>2024-04-15 00:31:05 +0200
commit4a5bcbb4e4fb402719d0d6c4da17a3ca43be66c2 (patch)
treea39a07befe91bed809f111d7b19e1afcef60b544 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent29b120740b55aaf2f75e659ba34c4e30977e5fed (diff)
downloadrust-4a5bcbb4e4fb402719d0d6c4da17a3ca43be66c2.tar.gz
rust-4a5bcbb4e4fb402719d0d6c4da17a3ca43be66c2.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions