Skip to content

Commit

Permalink
Fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
zakorgy committed Jun 4, 2016
1 parent 5be785e commit abfed07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/net_traits/bluetooth_scanfilter.rs
Expand Up @@ -20,7 +20,9 @@ impl ServiceUUIDSequence {

fn get_services_set(&self) -> HashSet<String> {
let mut set = HashSet::new();
self.0.iter().map(|m| set.insert(m.clone())).collect::<Vec<_>>();
for s in self.0.iter() {
set.insert(s.clone());
}
set
}
}
Expand Down

0 comments on commit abfed07

Please sign in to comment.