Skip to content

Commit b1d7480

Browse files
committed
Docs(lib/extract_if): Unify example description
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
1 parent a9330dd commit b1d7480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/alloc/src/collections/linked_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
11371137
///
11381138
/// # Examples
11391139
///
1140-
/// Splitting a list into evens and odds, reusing the original list:
1140+
/// Splitting a list into even and odd values, reusing the original list:
11411141
///
11421142
/// ```
11431143
/// use std::collections::LinkedList;

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3701,7 +3701,7 @@ impl<T, A: Allocator> Vec<T, A> {
37013701
///
37023702
/// # Examples
37033703
///
3704-
/// Splitting an array into evens and odds, reusing the original allocation:
3704+
/// Splitting a vector into even and odd values, reusing the original vector:
37053705
///
37063706
/// ```
37073707
/// let mut numbers = vec![1, 2, 3, 4, 5, 6, 8, 9, 11, 13, 14, 15];

0 commit comments

Comments
 (0)