Docs(lib/extract_if): Unify example description
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
This commit is contained in:
parent
a9330dd0e9
commit
b1d7480acb
2 changed files with 2 additions and 2 deletions
|
|
@ -1137,7 +1137,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
|
|||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Splitting a list into evens and odds, reusing the original list:
|
||||
/// Splitting a list into even and odd values, reusing the original list:
|
||||
///
|
||||
/// ```
|
||||
/// use std::collections::LinkedList;
|
||||
|
|
|
|||
|
|
@ -3701,7 +3701,7 @@ impl<T, A: Allocator> Vec<T, A> {
|
|||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Splitting an array into evens and odds, reusing the original allocation:
|
||||
/// Splitting a vector into even and odd values, reusing the original vector:
|
||||
///
|
||||
/// ```
|
||||
/// let mut numbers = vec![1, 2, 3, 4, 5, 6, 8, 9, 11, 13, 14, 15];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue