Rollup merge of #80448 - m-ou-se:deque-range-version, r=m-ou-se
Fix stabilization version of deque_range feature. See https://github.com/rust-lang/rust/pull/79022#issuecomment-751315315
This commit is contained in:
commit
e3d26e007c
@ -1092,7 +1092,7 @@ fn range_tail_head<R>(&self, range: R) -> (usize, usize)
|
||||
/// assert_eq!(all.len(), 3);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "deque_range", since = "1.50.0")]
|
||||
#[stable(feature = "deque_range", since = "1.51.0")]
|
||||
pub fn range<R>(&self, range: R) -> Iter<'_, T>
|
||||
where
|
||||
R: RangeBounds<usize>,
|
||||
@ -1131,7 +1131,7 @@ pub fn range<R>(&self, range: R) -> Iter<'_, T>
|
||||
/// assert_eq!(v, vec![2, 4, 12]);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "deque_range", since = "1.50.0")]
|
||||
#[stable(feature = "deque_range", since = "1.51.0")]
|
||||
pub fn range_mut<R>(&mut self, range: R) -> IterMut<'_, T>
|
||||
where
|
||||
R: RangeBounds<usize>,
|
||||
|
Loading…
Reference in New Issue
Block a user