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 2a96e03 commit eb76cdf
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 eb76cdf

Please sign in to comment.