mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +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…
Add table
Add a link
Reference in a new issue