Skip to content

Commit

Permalink
Fix stabilization version of deque_range feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Dec 28, 2020
1 parent 2987785 commit 10d6ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/alloc/src/collections/vec_deque/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ impl<T> VecDeque<T> {
/// 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>,
Expand Down Expand Up @@ -1130,7 +1130,7 @@ impl<T> VecDeque<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>,
Expand Down

0 comments on commit 10d6ff7

Please sign in to comment.