From 4c05c3a9b924a5e7411baf8fb7d695918f7fb3c5 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 23 Jun 2021 19:35:48 +0000 Subject: [PATCH] Make clippy happy --- src/wire/dhcpv4.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wire/dhcpv4.rs b/src/wire/dhcpv4.rs index cc701b8..781aa43 100644 --- a/src/wire/dhcpv4.rs +++ b/src/wire/dhcpv4.rs @@ -857,7 +857,6 @@ impl<'a> Repr<'a> { .map(|(i, ip)| { servers[(i * IP_SIZE)..((i + 1) * IP_SIZE)] .copy_from_slice(ip.as_bytes()); - () }).count() * IP_SIZE; let option = DhcpOption::Other{ kind: field::OPT_DOMAIN_NAME_SERVER, data: &servers[..data_len] }; let tmp = options; options = option.emit(tmp);