From b5223d272599b93624c51bfa0c4232cf54823053 Mon Sep 17 00:00:00 2001 From: Bastian Kauschke Date: Tue, 31 Mar 2020 15:39:56 +0200 Subject: [PATCH] update `VecDeque::as_(mut)_slice` docs --- src/liballoc/collections/vec_deque.rs | 8 ++++---- 1 file 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 VecDeque { /// 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 VecDeque { /// 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 ///