chore: apply clippy's suggestions
This commit is contained in:
parent
10140d879c
commit
180768b858
2 changed files with 6 additions and 9 deletions
|
|
@ -57,7 +57,7 @@ impl Resource {
|
|||
duration = duration + Duration::minutes(hour.granularity.into());
|
||||
} else {
|
||||
out.push((start_hour, duration));
|
||||
start_hour = &hour;
|
||||
start_hour = hour;
|
||||
duration = Duration::minutes(hour.granularity.into());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue