mirror of https://github.com/rust-lang/rust.git
Will land in 1.48, not 1.47
This commit is contained in:
parent
010891f8b8
commit
8b55360f70
|
@ -2231,7 +2231,7 @@ impl<T> VecDeque<T> {
|
||||||
/// assert_eq!(slice, &[3, 2, 1] as &[_]);
|
/// assert_eq!(slice, &[3, 2, 1] as &[_]);
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[stable(feature = "deque_make_contiguous", since = "1.47.0")]
|
#[stable(feature = "deque_make_contiguous", since = "1.48.0")]
|
||||||
pub fn make_contiguous(&mut self) -> &mut [T] {
|
pub fn make_contiguous(&mut self) -> &mut [T] {
|
||||||
if self.is_contiguous() {
|
if self.is_contiguous() {
|
||||||
let tail = self.tail;
|
let tail = self.tail;
|
||||||
|
|
Loading…
Reference in New Issue