Skip to content

Commit 8cf4cde

Browse files
authored
Derive ord/eq traits for Product's columnar variant (#630)
Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
1 parent 343462e commit 8cf4cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

timely/src/order.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ mod product {
7575
/// We use `Product` rather than `(TOuter, TInner)` so that we can derive our own `PartialOrder`,
7676
/// because Rust just uses the lexicographic total order.
7777
#[derive(Copy, Clone, Hash, Eq, PartialEq, Default, Ord, PartialOrd, Serialize, Deserialize, Columnar)]
78+
#[columnar(derive(Eq, PartialEq, Ord, PartialOrd))]
7879
pub struct Product<TOuter, TInner> {
7980
/// Outer timestamp.
8081
pub outer: TOuter,

0 commit comments

Comments
 (0)