Skip to content

Commit 48be833

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix clippy
1 parent 41bb799 commit 48be833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/discovery/command_discovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ impl ResourceDiscovery for CommandDiscovery {
307307
}
308308
self.adapters = adapters;
309309
// go through the resource and remove duplicates with same name and version
310-
for (_resource_name, resource_vec) in &mut resources {
310+
for resource_vec in resources.values_mut() {
311311
let mut uniques: HashSet<String> = HashSet::new();
312312
resource_vec.retain(|e| uniques.insert(e.version.clone()));
313313
}

0 commit comments

Comments
 (0)