Skip to content

Commit

Permalink
Remove unused macro_rules! case
Browse files Browse the repository at this point in the history
This is required to get tests to run on recent versions of Rust.
  • Loading branch information
SquidDev committed Nov 23, 2022
1 parent 72b9021 commit aa7e967
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/socket/dhcpv4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down

0 comments on commit aa7e967

Please sign in to comment.