From 709ebcdb879d6b11d613aa8adaa5277ffb7e4c7f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 16 May 2025 18:56:52 +0200 Subject: [PATCH] possible fix for CI --- src/ecss/tm.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ecss/tm.rs b/src/ecss/tm.rs index 731a73c..116a9f1 100644 --- a/src/ecss/tm.rs +++ b/src/ecss/tm.rs @@ -472,15 +472,6 @@ impl WritablePusPacket for PusTmCreator<'_, '_> { fn write_to_bytes_crc_no_table(&self, slice: &mut [u8]) -> Result { Ok(Self::write_to_bytes_crc_no_table(self, slice)?) } - - fn to_vec(&self) -> Result, PusError> { - // This is the correct way to do this. See - // [this issue](https://github.com/rust-lang/rust-clippy/issues/4483) for caveats of more - // "efficient" implementations. - let mut vec = alloc::vec![0; self.len_written()]; - self.write_to_bytes(&mut vec)?; - Ok(vec) - } } impl PartialEq for PusTmCreator<'_, '_> {