Skip to content

Commit 4c0dd63

Browse files
committed
Delete attr support from core::net deserialization macros
1 parent 26fb134 commit 4c0dd63

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

serde/src/de/impls.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1586,10 +1586,8 @@ map_impl! {
15861586
#[cfg(any(feature = "std", not(no_core_net)))]
15871587
macro_rules! parse_ip_impl {
15881588
(
1589-
$(#[$attr:meta])*
15901589
$ty:ty, $expecting:expr, $size:tt
15911590
) => {
1592-
$(#[$attr])*
15931591
impl<'de> Deserialize<'de> for $ty {
15941592
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
15951593
where
@@ -1749,11 +1747,9 @@ parse_ip_impl! {
17491747
#[cfg(any(feature = "std", not(no_core_net)))]
17501748
macro_rules! parse_socket_impl {
17511749
(
1752-
$(#[$attr:meta])*
17531750
$ty:ty, $expecting:tt,
17541751
$new:expr,
17551752
) => {
1756-
$(#[$attr])*
17571753
impl<'de> Deserialize<'de> for $ty {
17581754
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
17591755
where

0 commit comments

Comments
 (0)