fixed visibility

This commit is contained in:
cbax 2024-10-20 23:06:07 -04:00
parent 4b6edf53fe
commit ac35845310
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
mod net; pub mod net;

View file

@ -1,6 +1,6 @@
use std::net::Ipv4Addr; use std::net::Ipv4Addr;
trait ToIpv4 { pub trait ToIpv4 {
fn to_ipv4(self) -> Ipv4Addr; fn to_ipv4(self) -> Ipv4Addr;
} }
@ -10,7 +10,7 @@ impl ToIpv4 for u32 {
} }
} }
trait Tou32 { pub trait Tou32 {
fn to_u32(self) -> u32; fn to_u32(self) -> u32;
} }