Cleaning.

This commit is contained in:
2018-11-02 08:45:14 +01:00
parent 9cc23745cf
commit 6d63b50cb2

View File

@@ -4,7 +4,6 @@ extern crate serde;
extern crate unreachable; extern crate unreachable;
use std::collections::LinkedList; use std::collections::LinkedList;
use std::default::Default;
use std::fmt; use std::fmt;
use std::iter::{FromIterator, IntoIterator, Iterator}; use std::iter::{FromIterator, IntoIterator, Iterator};
use std::ops; use std::ops;
@@ -40,7 +39,7 @@ impl BitSet {
#[inline] #[inline]
pub fn with_capacity(capacity: usize) -> BitSet { pub fn with_capacity(capacity: usize) -> BitSet {
BitSet { BitSet {
blocks: HashMap::with_capacity_and_hasher(capacity / BITS as usize, Default::default()), blocks: HashMap::with_capacity(capacity / BITS as usize),
nbits: 0, nbits: 0,
} }
} }