From e99d719f4e1f017fd56241a450e5cd57e143a25b Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Thu, 28 Mar 2024 21:18:10 -0700 Subject: [PATCH] Fix formatting --- src/stream/tcb.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stream/tcb.rs b/src/stream/tcb.rs index e771123..4e2e281 100644 --- a/src/stream/tcb.rs +++ b/src/stream/tcb.rs @@ -190,7 +190,8 @@ impl Tcb { } self.inflight_packets.retain(|p| { let last_byte = p.seq.wrapping_add(p.payload.len() as u32); - last_byte.saturating_sub(self.last_ack) > 0 && self.seq.saturating_sub(last_byte) > 0 + last_byte.saturating_sub(self.last_ack) > 0 + && self.seq.saturating_sub(last_byte) > 0 }); } }