about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <cuviper@gmail.com>2019-07-01 15:17:39 -0700
committerJosh Stone <jistone@redhat.com>2019-07-09 12:39:25 -0700
commitcdeec0a618248b9321aed338b09c94a53338626e (patch)
treeee02cfe2327e022cec0e7a3ae61c16056a946a7e
parent60f1449b61a2e118916105d5fc225c005757e42e (diff)
downloadrust-cdeec0a618248b9321aed338b09c94a53338626e.tar.gz
rust-cdeec0a618248b9321aed338b09c94a53338626e.zip
Capitalize example comment
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
-rw-r--r--src/libcore/iter/traits/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/traits/iterator.rs b/src/libcore/iter/traits/iterator.rs
index b5835f19d74..e06030aee6b 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