Cleaning.
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user