Skip to content

Commit

Permalink
remove unused internal trait PrivAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
stbuehler committed Jun 24, 2024
1 parent 5fdc64e commit de1c6b2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/internal_traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ pub trait PrivUnspecAddress: Sized {
type _Tools;
}

/// Only implemented for IPv4Addr and IPv6Addr, NOT IpAddr
pub trait PrivAddress: PrivUnspecAddress {}

/// seal `Cidr` trait
pub trait PrivCidr {}

Expand Down Expand Up @@ -143,8 +140,6 @@ impl PrivUnspecAddress for Ipv4Addr {
type _Tools = Ipv4AddrTools;
}

impl PrivAddress for Ipv4Addr {}

#[derive(Clone, Copy)]
struct Ipv6OverflowingOp {
address: u128,
Expand Down Expand Up @@ -279,8 +274,6 @@ impl PrivUnspecAddress for Ipv6Addr {
type _Tools = Ipv6AddrTools;
}

impl PrivAddress for Ipv6Addr {}

pub struct IpAddrTools(());

impl IpAddrTools {
Expand Down

0 comments on commit de1c6b2

Please sign in to comment.