Skip to content

Commit

Permalink
fix nightly clippy warning from 'numerated'
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Dec 5, 2024
1 parent 3586078 commit d735d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/numerated/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ impl<T: Numerated> IntervalsTree<T> {
/// Iterating complexity: `O(n + m)`, where
/// - `n` is amount of intervals in `self`
/// - `m` is amount of intervals in `other`
pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator<Item = Interval<T>> + '_ {
pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator<Item = Interval<T>> + 'a {
DifferenceIterator {
iter1: self.iter(),
iter2: other.iter(),
Expand Down

0 comments on commit d735d88

Please sign in to comment.