We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc6bea commit 3cf1540Copy full SHA for 3cf1540
timely/src/progress/frontier.rs
@@ -1,7 +1,7 @@
1
//! Tracks minimal sets of mutually incomparable elements of a partial order.
2
3
use crate::progress::ChangeBatch;
4
-use crate::order::PartialOrder;
+use crate::order::{PartialOrder, TotalOrder};
5
6
/// A set of mutually incomparable elements.
7
///
@@ -227,6 +227,8 @@ impl<T: Clone> Clone for Antichain<T> {
227
}
228
229
230
+impl<T: TotalOrder> TotalOrder for Antichain<T> { }
231
+
232
impl<T: PartialOrder> From<Vec<T>> for Antichain<T> {
233
fn from(vec: Vec<T>) -> Self {
234
// TODO: We could reuse `vec` with some care.
0 commit comments