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:
Dylan DPC 2020-04-08 23:33:48 +02:00 committed by GitHub
commit 5848209b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;