diff --git a/tokio-timer/src/delay_queue.rs b/tokio-timer/src/delay_queue.rs index 70190e83f..56ff9e5bb 100644 --- a/tokio-timer/src/delay_queue.rs +++ b/tokio-timer/src/delay_queue.rs @@ -711,6 +711,12 @@ impl Stream for DelayQueue { } } +impl Default for DelayQueue { + fn default() -> DelayQueue { + DelayQueue::new() + } +} + impl wheel::Stack for Stack { type Owned = usize; type Borrowed = usize;