From 04f83732e1cfdc90533b28c6e90d1da61e1e49ba Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Thu, 16 May 2019 22:04:16 +0100 Subject: [PATCH] fmt Former-commit-id: ba065e557c6309cfd7a743db5b52544ee57c3469 --- client/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/lib.rs b/client/src/lib.rs index abf3dfbed1..96b182e3f0 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -241,7 +241,8 @@ impl Client { // If chunks are taking too long, assume they're no longer pending let now = Instant::now(); - self.pending_chunks.retain(|_, created| now.duration_since(*created) < Duration::from_secs(10)); + self.pending_chunks + .retain(|_, created| now.duration_since(*created) < Duration::from_secs(10)); } // Finish the tick, pass control back to the frontend (step 6)