Skip to content

Commit

Permalink
Merge pull request #12 from alexgartrell/patch-1
Browse files Browse the repository at this point in the history
Correct typo in Debug impl for Ipv4Cidr
  • Loading branch information
magiclen committed Dec 31, 2022
2 parents ba2bb10 + 8320416 commit 580e540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cidr/v4/ipv4_cidr.rs
Expand Up @@ -234,7 +234,7 @@ impl Debug for Ipv4Cidr {
let mask = self.get_mask_as_ipv4_addr();
let bits = self.get_bits();

debug_helper::impl_debug_for_struct!(Ipv6Cidr, f, self, let .prefix = prefix, let .mask = mask, let .bits = bits);
debug_helper::impl_debug_for_struct!(Ipv4Cidr, f, self, let .prefix = prefix, let .mask = mask, let .bits = bits);
}
}

Expand Down

0 comments on commit 580e540

Please sign in to comment.