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 e07efb4 commit 53d3066Copy full SHA for 53d3066
src/registry.rs
@@ -94,7 +94,7 @@ impl RegistryCore {
94
let mut id_set = Vec::new();
95
let mut collector_id: u64 = 0;
96
for desc in c.desc() {
97
- if !id_set.iter().any(|id| *id == desc.id) {
+ if !id_set.contains(&desc.id) {
98
id_set.push(desc.id);
99
collector_id = collector_id.wrapping_add(desc.id);
100
}
0 commit comments