Skip to content

Commit c679b8b

Browse files
phimuemuejswrenn
authored andcommitted
Fix clippy warning: overindented doc list items
1 parent d92a05d commit c679b8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3991,8 +3991,8 @@ pub trait Itertools: Iterator {
39913991
/// - `NoElements` if the iterator is empty.
39923992
/// - `OneElement(x)` if the iterator has exactly one element.
39933993
/// - `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.
39963996
///
39973997
/// On an iterator of length `n`, `minmax` does `1.5 * n` comparisons,
39983998
/// and so is faster than calling `min` and `max` separately which does
@@ -4251,9 +4251,9 @@ pub trait Itertools: Iterator {
42514251
/// - `NoElements` if the iterator is empty.
42524252
/// - `OneElement(xpos)` if the iterator has exactly one element.
42534253
/// - `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`.
42574257
///
42584258
/// On an iterator of length `n`, `position_minmax` does `1.5 * n`
42594259
/// comparisons, and so is faster than calling `position_min` and

0 commit comments

Comments
 (0)