Rollup merge of #70930 - lcnr:patch-1, r=Dylan-DPC
add tracking issue to `VecDeque::make_contiguous` The tracking issue is https://github.com/rust-lang/rust/issues/70929
This commit is contained in:
commit
5848209b64
|
@ -2104,7 +2104,7 @@ impl<T> VecDeque<T> {
|
||||||
/// assert_eq!(slice, &[3, 2, 1] as &[_]);
|
/// assert_eq!(slice, &[3, 2, 1] as &[_]);
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "deque_make_contiguous", issue = "none")]
|
#[unstable(feature = "deque_make_contiguous", issue = "70929")]
|
||||||
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