From ced17520e12caae6dd6f5197fd2f6b623e6cbee2 Mon Sep 17 00:00:00 2001 From: Alessandro Sappia Date: Fri, 27 Sep 2024 00:01:29 +0200 Subject: [PATCH] fix: unuseful reference Signed-off-by: Alessandro Sappia --- src/ot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ot.rs b/src/ot.rs index cb493eb..6483d07 100644 --- a/src/ot.rs +++ b/src/ot.rs @@ -21,7 +21,7 @@ impl OT { }, _ => op_a.clone(), }, - Ordering::Equal => match op_a.id().cmp(&op_b.id()) { + Ordering::Equal => match op_a.id().cmp(op_b.id()) { Ordering::Less => op_a.clone(), Ordering::Greater => match op_a { Operation::Insert { value, id, .. } => Operation::Insert {