Skip to content

Commit 4f49f26

Browse files
committed
Fix clippy 1.80 lints
If documentation should be part of bullet point, we need to indent.
1 parent a4a82e4 commit 4f49f26

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! "Diff"ing iterators for caching elements to sequential collections without requiring the new
22
//! elements' iterator to be `Clone`.
33
//!
4-
//! - [`Diff`] (produced by the [`diff_with`] function)
4+
//! [`Diff`] (produced by the [`diff_with`] function)
55
//! describes the difference between two non-`Clone` iterators `I` and `J` after breaking ASAP from
66
//! a lock-step comparison.
77

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -427,13 +427,13 @@ macro_rules! chain {
427427
/// This trait defines a number of methods. They are divided into two groups:
428428
///
429429
/// * *Adaptors* take an iterator and parameter as input, and return
430-
/// a new iterator value. These are listed first in the trait. An example
431-
/// of an adaptor is [`.interleave()`](Itertools::interleave)
430+
/// a new iterator value. These are listed first in the trait. An example
431+
/// of an adaptor is [`.interleave()`](Itertools::interleave)
432432
///
433433
/// * *Regular methods* are those that don't return iterators and instead
434-
/// return a regular value of some other kind.
435-
/// [`.next_tuple()`](Itertools::next_tuple) is an example and the first regular
436-
/// method in the list.
434+
/// return a regular value of some other kind.
435+
/// [`.next_tuple()`](Itertools::next_tuple) is an example and the first regular
436+
/// method in the list.
437437
pub trait Itertools: Iterator {
438438
// adaptors
439439

0 commit comments

Comments
 (0)