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)) } }