diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-03-31 15:39:56 +0200 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-03-31 15:39:56 +0200 |
| commit | b5223d272599b93624c51bfa0c4232cf54823053 (patch) | |
| tree | de275fb26bfb23056331996fe4e627e03dd0df1e /src/liballoc | |
| parent | d068545bfb7364e8409355e98f8c579e0930750b (diff) | |
| download | rust-b5223d272599b93624c51bfa0c4232cf54823053.tar.gz rust-b5223d272599b93624c51bfa0c4232cf54823053.zip | |
update `VecDeque::as_(mut)_slice` docs
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/collections/vec_deque.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs index 02681e06d31..c95d3c6cbfe 100644 --- a/src/liballoc/collections/vec_deque.rs +++ b/src/liballoc/collections/vec_deque.rs @@ -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 /// |
