diff --git a/timely/src/progress/frontier.rs b/timely/src/progress/frontier.rs index 46012bcce..ba44de481 100644 --- a/timely/src/progress/frontier.rs +++ b/timely/src/progress/frontier.rs @@ -13,7 +13,7 @@ use crate::order::{PartialOrder, TotalOrder}; /// Two antichains are equal if the contain the same set of elements, even if in different orders. /// This can make equality testing quadratic, though linear in the common case that the sequences /// are identical. -#[derive(Debug, Default, Abomonation, Serialize, Deserialize)] +#[derive(Debug, Abomonation, Serialize, Deserialize)] pub struct Antichain { elements: Vec } @@ -264,6 +264,12 @@ impl Clone for Antichain { } } +impl Default for Antichain { + fn default() -> Self { + Self::new() + } +} + impl TotalOrder for Antichain { } impl Antichain {