From aa7e967651b6fed533c5d23bc969829014c3c157 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Wed, 23 Nov 2022 13:33:22 +0000 Subject: [PATCH] Remove unused macro_rules! case This is required to get tests to run on recent versions of Rust. --- src/socket/dhcpv4.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/socket/dhcpv4.rs b/src/socket/dhcpv4.rs index 38736f8da..6d61856ae 100644 --- a/src/socket/dhcpv4.rs +++ b/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) =>