Make clippy happy

v0.7.x^2
Anton Romanov 2021-06-23 19:35:48 +00:00
parent 5211338f57
commit 4c05c3a9b9
1 changed files with 0 additions and 1 deletions

View File

@ -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);