about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-10-14 12:11:07 +0200
committerMs2ger <ms2ger@gmail.com>2014-10-14 12:11:07 +0200
commit0e1e9cbb136e36ef30820fdee72eab5b11a8dec3 (patch)
treefdf42a6181b44be43e3774297a20089502c5a76b
parent1c3ddd297128a96f72be09bddf138e4e603a7aa1 (diff)
downloadrust-0e1e9cbb136e36ef30820fdee72eab5b11a8dec3.tar.gz
rust-0e1e9cbb136e36ef30820fdee72eab5b11a8dec3.zip
Fix the formatting of the documentation for OrdIterator.min_max.
-rw-r--r--src/libcore/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 9799e9d3980..4b970dc3d25 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -873,7 +873,7 @@ pub trait OrdIterator<A> {
     ///    element in the iterator and all elements are equal.
     ///
     /// On an iterator of length `n`, `min_max` does `1.5 * n` comparisons,
-    /// and so faster than calling `min` and `max separately which does `2 * n` comparisons.
+    /// and so is faster than calling `min` and `max` separately which does `2 * n` comparisons.
     ///
     /// # Example
     ///