Tracking Issue for `vec_deque_iter_as_slices`
Open
Nobody has claimed this yet.
C-tracking-issue
T-libs
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Feature gate: #![feature(vec_deque_iter_as_slices)]
This is a tracking issue for:
alloc::collections::vec_deque::Iter::as_slicesalloc::collections::vec_deque::IterMut::into_slicesalloc::collections::vec_deque::IterMut::as_slicesalloc::collections::vec_deque::IterMut::as_mut_slices
Each of these functions obtains a pair of slices from a VecDeque iterator, similar to VecDeque::as_slices.
Public API
use std::collections::vec_deque::{Iter, IterMut};
impl<'a, T> Iter<'a, T> {
pub fn as_slices(&self) -> (&'a [T], &'a [T]) { ... }
}
impl<'a, T> IterMut<'a, T> {
pub fn into_slices(self) -> (&'a mut [T], &'a mut [T]) { ... }
pub fn as_slices(&self) -> (&[T], &[T]) { ... }
pub fn as_mut_slices(&mut self) -> (&mut [T], &mut [T]) { ... }
}
Steps / History
- Implementation: #123947
- Final comment period (FCP)^1
- Stabilization PR
Unresolved Questions
- None yet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the public APIs listed under alloc::collections::vec_deque::Iter and IterMut, along with implementation PR #123947. Check the feature lifecycle and stabilization guidance before determining whether the final comment period and stabilization PR are ready; done means the required stabilization process has completed for all four methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100