diff --git a/src/crdt.rs b/src/crdt.rs index 7d15d59f33a867..f3e8956d84a41e 100644 --- a/src/crdt.rs +++ b/src/crdt.rs @@ -296,9 +296,7 @@ impl Crdt { // max number of nodes that we could be converged to pub fn convergence(&self) -> u64 { let max = self.remote.values().len() as u64 + 1; - self.remote - .values() - .fold(max, |a, b| std::cmp::min(a, *b)) + self.remote.values().fold(max, |a, b| std::cmp::min(a, *b)) } fn random() -> u64 {