From e8571866e8278d891581017bdea42838e5965bac Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 5 Dec 2022 08:55:24 +0100 Subject: [PATCH] doc fix --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fd89e42..714ace5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -502,8 +502,8 @@ impl SpHeader { } /// Create a struct from a raw slice where the fields have network endianness (big). - /// This function will also returns the remaining part of the passed slice starting starting - /// past the read CCSDS header. + /// This function also returns the remaining part of the passed slice starting past the read + /// CCSDS header. pub fn from_be_bytes(buf: &[u8]) -> Result<(Self, &[u8]), ByteConversionError> { if buf.len() < CCSDS_HEADER_LEN { return Err(ByteConversionError::FromSliceTooSmall(SizeMissmatch {