this should make clippy happy
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
2022-08-16 11:12:47 +02:00
parent 3b11af8d4a
commit 35073a45a5
5 changed files with 15 additions and 15 deletions

View File

@ -12,7 +12,7 @@ pub const CRC_CCITT_FALSE: Crc<u16> = Crc::<u16>::new(&CRC_16_IBM_3740);
pub const CCSDS_HEADER_LEN: usize = size_of::<crate::zc::SpHeader>();
/// All PUS versions. Only PUS C is supported by this library.
#[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)]
#[derive(PartialEq, Eq, Copy, Clone, Serialize, Deserialize, Debug)]
pub enum PusVersion {
EsaPus = 0,
PusA = 1,
@ -33,7 +33,7 @@ impl TryFrom<u8> for PusVersion {
}
}
#[derive(Debug, Copy, Clone, PartialEq)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum PusError {
VersionNotSupported(PusVersion),
IncorrectCrc(u16),