Skip to content

Commit

Permalink
avoid allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 12, 2024
1 parent a9c9878 commit d720b36
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 d720b36

Please sign in to comment.