From 52d767ed5a9e29f7b24bdc7acca8c1cc0fd179be Mon Sep 17 00:00:00 2001 From: Niyaz Nigmatullin Date: Tue, 16 Aug 2022 15:51:32 +0300 Subject: [PATCH] test_pr: follow clippy advice --- tests/by-util/test_pr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }