diff --git a/tests/by-util/test_pr.rs b/tests/by-util/test_pr.rs index fdbd19941..a7d2dccb5 100644 --- a/tests/by-util/test_pr.rs +++ b/tests/by-util/test_pr.rs @@ -28,7 +28,7 @@ fn all_minutes(from: DateTime, to: DateTime) -> Vec { let mut current = from; while current < to { vec.push(current.format(FORMAT).to_string()); - current = current + Duration::minutes(1); + current += Duration::minutes(1); } vec }