浏览代码

Remove an unneeded semicolon

Alex Crawford 4 年之前
父节点
当前提交
400432802e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/dhcp_client.rs

+ 1 - 1
examples/dhcp_client.rs

@@ -95,6 +95,6 @@ fn main() {
         iface.poll_delay(&sockets, timestamp)
         iface.poll_delay(&sockets, timestamp)
             .map(|sockets_timeout| timeout = sockets_timeout);
             .map(|sockets_timeout| timeout = sockets_timeout);
         phy_wait(fd, Some(timeout))
         phy_wait(fd, Some(timeout))
-            .unwrap_or_else(|e| println!("Wait: {:?}", e));;
+            .unwrap_or_else(|e| println!("Wait: {:?}", e));
     }
     }
 }
 }