fixed visibility
This commit is contained in:
parent
4b6edf53fe
commit
ac35845310
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
mod net;
|
||||
pub mod net;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::net::Ipv4Addr;
|
||||
|
||||
trait ToIpv4 {
|
||||
pub trait ToIpv4 {
|
||||
fn to_ipv4(self) -> Ipv4Addr;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ impl ToIpv4 for u32 {
|
|||
}
|
||||
}
|
||||
|
||||
trait Tou32 {
|
||||
pub trait Tou32 {
|
||||
fn to_u32(self) -> u32;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue