Remove unneeded .into_iter()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
asonix 2023-03-23 14:37:33 -05:00
parent 2cb5ad9917
commit 73bf4d1597

View file

@ -216,7 +216,6 @@ impl Snapshot {
fn key_to_parts(key: &Key) -> (String, Vec<(String, String)>) {
let labels = key
.labels()
.into_iter()
.map(|label| (label.key().to_string(), label.value().to_string()))
.collect();
let name = key.name().to_string();