doc fix
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-12-05 08:55:24 +01:00
parent 038755e56e
commit e8571866e8
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -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 {