mirror of https://github.com/smol-rs/vec-arena
Don't specify capacity in splay tree
This commit is contained in:
parent
6edd4d3137
commit
9a8c98d144
|
@ -43,7 +43,7 @@ impl<T> Splay<T> where T: Ord {
|
|||
/// Constructs a new, empty splay tree.
|
||||
fn new() -> Splay<T> {
|
||||
Splay {
|
||||
arena: Arena::with_capacity(1000000),
|
||||
arena: Arena::new(),
|
||||
root: NULL,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue