Remove unused deserialization macros on no_std

This commit is contained in:
David Tolnay 2017-10-17 10:04:26 -07:00
parent 4ed0362c8e
commit 57873cce28
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -887,6 +887,7 @@ macro_rules! parse_ip_impl {
}
}
#[cfg(feature = "std")]
macro_rules! variant_identifier {
(
$name_kind: ident ( $($variant: ident; $bytes: expr; $index: expr),* )
@ -961,6 +962,7 @@ macro_rules! variant_identifier {
}
}
#[cfg(feature = "std")]
macro_rules! deserialize_enum {
(
$name: ident $name_kind: ident ( $($variant: ident; $bytes: expr; $index: expr),* )