mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
test_pr: follow clippy advice
This commit is contained in:
parent
33ba5cbc93
commit
52d767ed5a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue