Skip to content

Commit

Permalink
Merge pull request #3384 from bgurney-rh/clippy-1.71
Browse files Browse the repository at this point in the history
Fix manual_next_back lint error
  • Loading branch information
mulkieran authored Jul 13, 2023
2 parents 5361323 + 7d86e07 commit be73c6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/strat_engine/backstore/range_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ impl PerDevSegments {
assert!(self
.used
.iter()
.rev()
.next()
.next_back()
.map(|(s, l)| *s + *l <= self.limit)
.unwrap_or(true));
// The complement really is the complement
Expand Down

0 comments on commit be73c6f

Please sign in to comment.