Docs(lib/extract_if): Unify example description

Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
This commit is contained in:
Paul Mabileau 2025-05-17 02:54:21 +02:00
parent a9330dd0e9
commit b1d7480acb
No known key found for this signature in database
GPG key ID: D4C0E25A7BA15A68
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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];