From c8b8e811716a64d5ce7779ec0459fc35a8e2dcb3 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 11 Apr 2023 22:16:43 -0700 Subject: [PATCH] rustfmt --- mux/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mux/src/lib.rs b/mux/src/lib.rs index 2fa6226b6..333165144 100644 --- a/mux/src/lib.rs +++ b/mux/src/lib.rs @@ -197,9 +197,9 @@ fn parse_buffered_data(pane: Weak, dead: &Arc, mut rx: Fil if action_size < buf.len() { let poll_delay = match deadline { None => { - deadline.replace(Instant::now() + delay); - Some(delay) - }, + deadline.replace(Instant::now() + delay); + Some(delay) + } Some(target) => target.checked_duration_since(Instant::now()), }; if poll_delay.is_some() {