chore: clippy fixes - allow should_implement_trait and collapse nested if

This commit is contained in:
2026-05-25 12:19:24 +02:00
parent b1e7dea739
commit 9d5d8f04a2
3 changed files with 12 additions and 11 deletions
+1
View File
@@ -16,6 +16,7 @@ impl Backoff {
}
}
#[allow(clippy::should_implement_trait)]
pub fn next(&mut self) -> Duration {
let next = match self.current {
None => self.initial,