Skip to content

Commit

Permalink
avoid allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 13, 2024
1 parent 106494d commit 937f25f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<T, B: BuildHasher + Default> Default for DequeSet<T, B> {
fn default() -> Self {
Self {
set: Default::default(),
queue: Default::default(),
queue: VecDeque::with_capacity(0),
}
}
}
Expand Down

0 comments on commit 937f25f

Please sign in to comment.