From 46dbb4309b2b4021030c93a0adfe7066a1a7cc8a Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 2 May 2024 14:44:22 +0200 Subject: [PATCH] new clippy check --- satrs/src/request.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/satrs/src/request.rs b/satrs/src/request.rs index 3999278..f188798 100644 --- a/satrs/src/request.rs +++ b/satrs/src/request.rs @@ -10,7 +10,7 @@ pub use std_mod::*; use spacepackets::{ ecss::{tc::IsPusTelecommand, PusPacket}, - ByteConversionError, CcsdsPacket, + ByteConversionError, }; use crate::{queue::GenericTargetedMessagingError, ComponentId}; @@ -47,7 +47,7 @@ impl UniqueApidTargetId { /// This function attempts to build the ID from a PUS telecommand by extracting the APID /// and the first four bytes of the application data field as the target field. pub fn from_pus_tc( - tc: &(impl CcsdsPacket + PusPacket + IsPusTelecommand), + tc: &(impl PusPacket + IsPusTelecommand), ) -> Result { if tc.user_data().len() < 4 { return Err(ByteConversionError::FromSliceTooSmall {