mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-17 01:08:53 +00:00
Run cargo fix --edition-idioms
This commit is contained in:
@ -204,7 +204,7 @@ impl Ipv4Network {
|
||||
}
|
||||
|
||||
impl fmt::Display for Ipv4Network {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(fmt, "{}/{}", self.ip(), self.prefix())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user