瀏覽代碼

Remove unused macro_rules! case

This is required to get tests to run on recent versions of Rust.
Jonathan Coates 2 年之前
父節點
當前提交
aa7e967651
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/socket/dhcpv4.rs

+ 0 - 2
src/socket/dhcpv4.rs

@@ -635,8 +635,6 @@ mod test {
     macro_rules! send {
         ($socket:ident, $repr:expr) =>
             (send!($socket, time 0, $repr));
-        ($socket:ident, $repr:expr, $result:expr) =>
-            (send!($socket, time 0, $repr, $result));
         ($socket:ident, time $time:expr, $repr:expr) =>
             (send!($socket, time $time, $repr, Ok(( ))));
         ($socket:ident, time $time:expr, $repr:expr, $result:expr) =>