@@ -3991,8 +3991,8 @@ pub trait Itertools: Iterator {
3991
3991
/// - `NoElements` if the iterator is empty.
3992
3992
/// - `OneElement(x)` if the iterator has exactly one element.
3993
3993
/// - `MinMax(x, y)` is returned otherwise, where `x <= y`. Two
3994
- /// values are equal if and only if there is more than one
3995
- /// element in the iterator and all elements are equal.
3994
+ /// values are equal if and only if there is more than one
3995
+ /// element in the iterator and all elements are equal.
3996
3996
///
3997
3997
/// On an iterator of length `n`, `minmax` does `1.5 * n` comparisons,
3998
3998
/// and so is faster than calling `min` and `max` separately which does
@@ -4251,9 +4251,9 @@ pub trait Itertools: Iterator {
4251
4251
/// - `NoElements` if the iterator is empty.
4252
4252
/// - `OneElement(xpos)` if the iterator has exactly one element.
4253
4253
/// - `MinMax(xpos, ypos)` is returned otherwise, where the
4254
- /// element at `xpos` ≤ the element at `ypos`. While the
4255
- /// referenced elements themselves may be equal, `xpos` cannot
4256
- /// be equal to `ypos`.
4254
+ /// element at `xpos` ≤ the element at `ypos`. While the
4255
+ /// referenced elements themselves may be equal, `xpos` cannot
4256
+ /// be equal to `ypos`.
4257
4257
///
4258
4258
/// On an iterator of length `n`, `position_minmax` does `1.5 * n`
4259
4259
/// comparisons, and so is faster than calling `position_min` and
0 commit comments