We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41bb799 commit 48be833Copy full SHA for 48be833
dsc_lib/src/discovery/command_discovery.rs
@@ -307,7 +307,7 @@ impl ResourceDiscovery for CommandDiscovery {
307
}
308
self.adapters = adapters;
309
// go through the resource and remove duplicates with same name and version
310
- for (_resource_name, resource_vec) in &mut resources {
+ for resource_vec in resources.values_mut() {
311
let mut uniques: HashSet<String> = HashSet::new();
312
resource_vec.retain(|e| uniques.insert(e.version.clone()));
313
0 commit comments