test_pr: follow clippy advice

This commit is contained in:
Niyaz Nigmatullin 2022-08-16 15:51:32 +03:00
parent 33ba5cbc93
commit 52d767ed5a

View file

@ -28,7 +28,7 @@ fn all_minutes(from: DateTime<Local>, to: DateTime<Local>) -> Vec<String> {
let mut current = from;
while current < to {
vec.push(current.format(FORMAT).to_string());
current = current + Duration::minutes(1);
current += Duration::minutes(1);
}
vec
}