From 947baacbff65439339e60fd86c02a9f032a1c630 Mon Sep 17 00:00:00 2001 From: Anatoly Yakovenko Date: Wed, 16 May 2018 23:18:56 -0700 Subject: [PATCH] fmt --- src/crdt.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {