Run cargo fix --edition-idioms

This commit is contained in:
Linus Färnstrand
2019-03-25 15:15:41 +01:00
parent d8f3cc1992
commit 61eeb5843f
6 changed files with 9 additions and 9 deletions

View File

@ -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())
}
}