1
Fork 0

Fix the formatting of the documentation for OrdIterator.min_max.

This commit is contained in:
Ms2ger 2014-10-14 12:11:07 +02:00
parent 1c3ddd2971
commit 0e1e9cbb13

View file

@ -873,7 +873,7 @@ pub trait OrdIterator<A> {
/// element in the iterator and all elements are equal. /// element in the iterator and all elements are equal.
/// ///
/// On an iterator of length `n`, `min_max` does `1.5 * n` comparisons, /// 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 /// # Example
/// ///