From b736815bc26f15443b964a6b68362542d7557d81 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 8 Feb 2024 11:01:26 +0100 Subject: [PATCH] fix: warnings Signed-off-by: Vincenzo Palazzo --- folgore-plugin/src/recovery.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folgore-plugin/src/recovery.rs b/folgore-plugin/src/recovery.rs index e9e6385..3872e86 100644 --- a/folgore-plugin/src/recovery.rs +++ b/folgore-plugin/src/recovery.rs @@ -117,7 +117,7 @@ mod tests { assert_eq!(*strategy.retry_state.borrow(), 4); let mut time = 10; for _ in 0..4 { - time = time * 2; + time *= 2; } assert_eq!(*strategy.timeout.borrow(), Duration::from_millis(time)); }