Skip to content

Commit b5223d2

Browse files
committed
update VecDeque::as_(mut)_slice docs
1 parent d068545 commit b5223d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/liballoc/collections/vec_deque.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -959,8 +959,8 @@ impl<T> VecDeque<T> {
959959
/// Returns a pair of slices which contain, in order, the contents of the
960960
/// `VecDeque`.
961961
///
962-
/// In case [`make_contiguous`](#method.make_contiguous) was previously called,
963-
/// all elements of the deque are in the first slice and the second slice is empty.
962+
/// If [`make_contiguous`](#method.make_contiguous) was previously called, all elements
963+
/// of the `VecDeque` will be in the first slice and the second slice will be empty.
964964
///
965965
/// # Examples
966966
///
@@ -992,8 +992,8 @@ impl<T> VecDeque<T> {
992992
/// Returns a pair of slices which contain, in order, the contents of the
993993
/// `VecDeque`.
994994
///
995-
/// In case [`make_contiguous`](#method.make_contiguous) was previously called,
996-
/// all elements of the deque are in the first slice and the second slice is empty.
995+
/// If [`make_contiguous`](#method.make_contiguous) was previously called, all elements
996+
/// of the `VecDeque` will be in the first slice and the second slice will be empty.
997997
///
998998
/// # Examples
999999
///

0 commit comments

Comments
 (0)