diff --git a/turbopack/crates/turbo-tasks-backend/src/utils/deque_set.rs b/turbopack/crates/turbo-tasks-backend/src/utils/deque_set.rs index c4b7fd1b47e8d..5ee5a3095f4ee 100644 --- a/turbopack/crates/turbo-tasks-backend/src/utils/deque_set.rs +++ b/turbopack/crates/turbo-tasks-backend/src/utils/deque_set.rs @@ -1,5 +1,6 @@ use std::{ collections::{HashSet, VecDeque}, + fmt::Debug, hash::{BuildHasher, BuildHasherDefault, Hash}, }; @@ -20,6 +21,12 @@ pub struct DequeSet> { queue: VecDeque, } +impl Debug for DequeSet { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.queue.fmt(f) + } +} + impl Default for DequeSet { fn default() -> Self { Self {