fix(redundant import) (#2582)

Fixes warning: the item `HashSet` is imported redundantly
This commit is contained in:
Niklas Adolfsson
2019-05-14 17:07:13 +02:00
committed by Svyatoslav Nikolsky
parent 0181833f89
commit e330b69cb9
@@ -304,8 +304,6 @@ impl<B: BlockT, Essence: ExtraRequestsEssence<B>> ExtraRequests<B, Essence> {
return Ok(());
}
use std::collections::HashSet;
self.tree.finalize(best_finalized_hash, best_finalized_number, &is_descendent_of)?;
let roots = self.tree.roots().collect::<HashSet<_>>();