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 ///