aboutsummaryrefslogtreecommitdiff
path: root/src/table/crdt.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-11-20 23:09:32 +0100
committerAlex Auvolat <alex@adnab.me>2020-11-20 23:53:54 +0100
commit173f0dbac98f7962c75663cf7ee37c700596b40d (patch)
tree1574933ea02eab5f4c41709877d8c2c47de5bf64 /src/table/crdt.rs
parentf8a04852a2cda84d4fd12ec19e90bbd8224bf4e9 (diff)
downloadgarage-173f0dbac98f7962c75663cf7ee37c700596b40d.tar.gz
garage-173f0dbac98f7962c75663cf7ee37c700596b40d.zip
oops
Diffstat (limited to 'src/table/crdt.rs')
-rw-r--r--src/table/crdt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/crdt.rs b/src/table/crdt.rs
index 7c888e3a..708d47f3 100644
--- a/src/table/crdt.rs
+++ b/src/table/crdt.rs
@@ -97,7 +97,7 @@ pub struct LWWMap<K, V> {
impl<K, V> LWWMap<K, V>
where
K: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord,
- V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord,
+ V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + CRDT,
{
pub fn new() -> Self {
Self { vals: vec![] }