diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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<T> - } - - #[cfg(not(feature = "std"))] #[derive(PartialEq, Debug)] pub struct $rawdt<'a, T> { pub data: &'a [u8], |