From e355de3f10f0d034f399aa6ce0930d19b15b74e8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 1 Dec 2023 14:46:01 +0100 Subject: [PATCH] fmt --- src/cfdp/pdu/nak.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cfdp/pdu/nak.rs b/src/cfdp/pdu/nak.rs index 5ec93d3..22d18f2 100644 --- a/src/cfdp/pdu/nak.rs +++ b/src/cfdp/pdu/nak.rs @@ -338,12 +338,10 @@ impl SegmentRequestIter<'_, T> { return None; } - let start_offset = - T::from_bytes(&self.seq_req_raw[offset..offset + size_of::()]); + let start_offset = T::from_bytes(&self.seq_req_raw[offset..offset + size_of::()]); offset += size_of::(); - let end_offset = - T::from_bytes(&self.seq_req_raw[offset..offset + size_of::()]); + let end_offset = T::from_bytes(&self.seq_req_raw[offset..offset + size_of::()]); Some((start_offset, end_offset)) } }