diff --git a/examples/dhcp_client.rs b/examples/dhcp_client.rs index a751e59..daabc9c 100644 --- a/examples/dhcp_client.rs +++ b/examples/dhcp_client.rs @@ -95,6 +95,6 @@ fn main() { iface.poll_delay(&sockets, timestamp) .map(|sockets_timeout| timeout = sockets_timeout); phy_wait(fd, Some(timeout)) - .unwrap_or_else(|e| println!("Wait: {:?}", e));; + .unwrap_or_else(|e| println!("Wait: {:?}", e)); } }