update `VecDeque::as_(mut)_slice` docs

This commit is contained in:
Bastian Kauschke 2020-03-31 15:39:56 +02:00
parent d068545bfb
commit b5223d2725
1 changed files with 4 additions and 4 deletions

View File

@ -959,8 +959,8 @@ impl<T> VecDeque<T> {
/// Returns a pair of slices which contain, in order, the contents of the
/// `VecDeque`.
///
/// In case [`make_contiguous`](#method.make_contiguous) was previously called,
/// all elements of the deque are in the first slice and the second slice is empty.
/// If [`make_contiguous`](#method.make_contiguous) was previously called, all elements
/// of the `VecDeque` will be in the first slice and the second slice will be empty.
///
/// # Examples
///
@ -992,8 +992,8 @@ impl<T> VecDeque<T> {
/// Returns a pair of slices which contain, in order, the contents of the
/// `VecDeque`.
///
/// In case [`make_contiguous`](#method.make_contiguous) was previously called,
/// all elements of the deque are in the first slice and the second slice is empty.
/// If [`make_contiguous`](#method.make_contiguous) was previously called, all elements
/// of the `VecDeque` will be in the first slice and the second slice will be empty.
///
/// # Examples
///