Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
theli-ua committed Jun 23, 2021
1 parent fa0db42 commit e023164
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wire/dhcpv4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e023164

Please sign in to comment.