From cdeec0a618248b9321aed338b09c94a53338626e Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 1 Jul 2019 15:17:39 -0700 Subject: [PATCH] Capitalize example comment Co-Authored-By: Mazdak Farrokhzad --- src/libcore/iter/traits/iterator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/iter/traits/iterator.rs b/src/libcore/iter/traits/iterator.rs index b5835f19d74d..e06030aee6b1 100644 --- a/src/libcore/iter/traits/iterator.rs +++ b/src/libcore/iter/traits/iterator.rs @@ -1528,7 +1528,7 @@ pub trait Iterator { /// /// let mut a = [1, 2, 3, 4, 5, 6, 7]; /// - /// // partition in-place between evens and odds + /// // Partition in-place between evens and odds /// a.iter_mut().partition_mut(|&n| n % 2 == 0); /// /// assert!(a[..3].iter().all(|&n| n % 2 == 0)); // evens