Skip to content

Commit 677900a

Browse files
authored
Apply suggestions from code review
1 parent 2b5e83f commit 677900a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,15 +2271,15 @@ pub trait Itertools : Iterator {
22712271
/// ```
22722272
///
22732273
/// Which, for non-associative functions, will typically produce a different
2274-
/// result than the linear call tree used by [`Iterator::reduce`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.reduce):
2274+
/// result than the linear call tree used by [`Iterator::reduce`]:
22752275
///
22762276
/// ```text
22772277
/// 1 2 3 4 5 6 7
22782278
/// │ │ │ │ │ │ │
22792279
/// └─f─f─f─f─f─f
22802280
/// ```
22812281
///
2282-
/// If `f` is associative, prefer the normal [`Iterator::reduce`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.reduce) instead.
2282+
/// If `f` is associative, prefer the normal [`Iterator::reduce`] instead.
22832283
///
22842284
/// ```
22852285
/// use itertools::Itertools;

0 commit comments

Comments
 (0)