From 2b33f811eb16095fb4bce8b8eca924dd7b8a5121 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 26 Jan 2023 21:30:25 +0100 Subject: [PATCH] no need to deprecate this function --- src/tm.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tm.rs b/src/tm.rs index fb8e079..5813ccc 100644 --- a/src/tm.rs +++ b/src/tm.rs @@ -443,11 +443,6 @@ impl<'raw_data> PusTm<'raw_data> { Ok((pus_tm, total_len)) } - #[deprecated(since = "0.5.2", note = "use raw_bytes() instead")] - pub fn raw(&self) -> Option<&'raw_data [u8]> { - self.raw_bytes() - } - /// If [Self] was constructed [Self::from_bytes], this function will return the slice it was /// constructed from. Otherwise, [None] will be returned. pub fn raw_bytes(&self) -> Option<&'raw_data [u8]> {