Skip to content

Commit cdeec0a

Browse files
cuviperCentril
andcommitted
Capitalize example comment
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 60f1449 commit cdeec0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/traits/iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ pub trait Iterator {
15281528
///
15291529
/// let mut a = [1, 2, 3, 4, 5, 6, 7];
15301530
///
1531-
/// // partition in-place between evens and odds
1531+
/// // Partition in-place between evens and odds
15321532
/// a.iter_mut().partition_mut(|&n| n % 2 == 0);
15331533
///
15341534
/// assert!(a[..3].iter().all(|&n| n % 2 == 0)); // evens

0 commit comments

Comments
 (0)