Skip to content

Commit

Permalink
Correct typo in Debug impl for Ipv4Cidr
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgartrell committed Dec 31, 2022
1 parent ba2bb10 commit 8320416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cidr/v4/ipv4_cidr.rs
Original file line number Diff line number Diff line change
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 8320416

Please sign in to comment.