mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 04:50:36 +00:00
Delete attr support from core::net deserialization macros
This commit is contained in:
parent
26fb134165
commit
4c0dd63011
@ -1586,10 +1586,8 @@ map_impl! {
|
||||
#[cfg(any(feature = "std", not(no_core_net)))]
|
||||
macro_rules! parse_ip_impl {
|
||||
(
|
||||
$(#[$attr:meta])*
|
||||
$ty:ty, $expecting:expr, $size:tt
|
||||
) => {
|
||||
$(#[$attr])*
|
||||
impl<'de> Deserialize<'de> for $ty {
|
||||
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
|
||||
where
|
||||
@ -1749,11 +1747,9 @@ parse_ip_impl! {
|
||||
#[cfg(any(feature = "std", not(no_core_net)))]
|
||||
macro_rules! parse_socket_impl {
|
||||
(
|
||||
$(#[$attr:meta])*
|
||||
$ty:ty, $expecting:tt,
|
||||
$new:expr,
|
||||
) => {
|
||||
$(#[$attr])*
|
||||
impl<'de> Deserialize<'de> for $ty {
|
||||
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
|
||||
where
|
||||
|
Loading…
x
Reference in New Issue
Block a user