Skip to content

Commit 25f33b9

Browse files
committed
std: Combine split point note and make_contiguous into one part
Signed-off-by: xizheyin <[email protected]>
1 parent 4b192d8 commit 25f33b9

File tree

1 file changed

+4
-6
lines changed
  • library/alloc/src/collections/vec_deque

1 file changed

+4
-6
lines changed

library/alloc/src/collections/vec_deque/mod.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,9 +1312,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
13121312
///
13131313
/// If [`make_contiguous`] was previously called, all elements of the
13141314
/// deque will be in the first slice and the second slice will be empty.
1315-
///
1316-
/// Note that the particular split point between the slices is not guaranteed
1317-
/// and may change based on internal implementation details.
1315+
/// Otherwise, the exact split point depends on implementation details
1316+
/// and is not guaranteed.
13181317
///
13191318
/// [`make_contiguous`]: VecDeque::make_contiguous
13201319
///
@@ -1352,9 +1351,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
13521351
///
13531352
/// If [`make_contiguous`] was previously called, all elements of the
13541353
/// deque will be in the first slice and the second slice will be empty.
1355-
///
1356-
/// Note that the particular split point between the slices is not guaranteed
1357-
/// and may change based on internal implementation details.
1354+
/// Otherwise, the exact split point depends on implementation details
1355+
/// and is not guaranteed.
13581356
///
13591357
/// [`make_contiguous`]: VecDeque::make_contiguous
13601358
///

0 commit comments

Comments
 (0)