1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

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; let mut current = from;
while current < to { while current < to {
vec.push(current.format(FORMAT).to_string()); vec.push(current.format(FORMAT).to_string());
current = current + Duration::minutes(1); current += Duration::minutes(1);
} }
vec vec
} }