Remove the unnecessary parentheses

This commit is contained in:
Abhishek Chanda
2015-08-11 17:03:08 -07:00
parent e1d412efc4
commit 26f9d1df55

View File

@ -52,7 +52,7 @@ impl Ipv4Network {
pub fn contains(&self, ip: Ipv4Addr) -> bool { pub fn contains(&self, ip: Ipv4Addr) -> bool {
let (_, net) = self.network(); let (_, net) = self.network();
return ((u32::from(ip) & net) == net) return (u32::from(ip) & net) == net
} }
} }