Skip to content

Commit 4d29a3b

Browse files
committed
format
1 parent 43383b3 commit 4d29a3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/dhcp_client.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ fn main() {
4242
// This also allows sockets made before a real address is negotiated
4343
// via DHCP to update properly afterward.
4444
iface.update_ip_addrs(|addrs| {
45-
addrs.push(IpCidr::Ipv4(Ipv4Cidr::new(Ipv4Address::UNSPECIFIED, 0))).unwrap();
45+
addrs
46+
.push(IpCidr::Ipv4(Ipv4Cidr::new(Ipv4Address::UNSPECIFIED, 0)))
47+
.unwrap();
4648
});
4749

4850
// Create sockets

0 commit comments

Comments
 (0)