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 e5e20c5 commit 0ac6ccb
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 0ac6ccb

Please sign in to comment.