diff options
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/collections/vec_deque.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs index 0ad59d2a20c..b9d91876db3 100644 --- a/src/liballoc/collections/vec_deque.rs +++ b/src/liballoc/collections/vec_deque.rs @@ -959,6 +959,9 @@ 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. + /// /// # Examples /// /// ``` @@ -989,6 +992,9 @@ 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. + /// /// # Examples /// /// ``` |
