Fix clippy issue
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m9s
Details
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m9s
Details
This commit is contained in:
parent
4b506541f3
commit
dadf5d3147
|
@ -108,7 +108,7 @@ fn merge(
|
|||
// value.
|
||||
let items = pollen_samples
|
||||
.into_iter()
|
||||
.zip(aqi_items.into_iter())
|
||||
.zip(aqi_items)
|
||||
.map(|(pollen_sample, aqi_item)| {
|
||||
let time = pollen_sample.time;
|
||||
let value = (pollen_sample.score as f32).max(aqi_item.value);
|
||||
|
|
Loading…
Reference in New Issue