From 5817bb92e1e32ec767ad11abd49f2c7153703ea8 Mon Sep 17 00:00:00 2001 From: Joey Sacchini Date: Mon, 19 Oct 2020 12:45:26 -0400 Subject: only need one struct def for raw data --- src/protocol.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/protocol.rs b/src/protocol.rs index 7a2002d..fb2c1fb 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -339,14 +339,6 @@ macro_rules! define_protocol { } } - #[cfg(feature = "std")] - #[derive(PartialEq, Debug)] - pub struct $rawdt<'a, T> { - pub data: &'a [u8], - _typ: std::marker::PhantomData - } - - #[cfg(not(feature = "std"))] #[derive(PartialEq, Debug)] pub struct $rawdt<'a, T> { pub data: &'a [u8], -- cgit