Skip to content

Commit 6b66dbc

Browse files
committed
Fixed clippy problem
1 parent 74cbcd7 commit 6b66dbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wire/dhcpv4.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,7 @@ impl<'a> DhcpOption<'a> {
346346
&DhcpOption::ClientNetworkInterfaceId(_) => 5,
347347
&DhcpOption::VendorClassId(list) => 2 + list.len(),
348348
&DhcpOption::Other { data, .. } => {
349-
println!("data len: {}", data.len());
350-
return 2 + data.len();
349+
2 + data.len();
351350
}
352351
}
353352
}

0 commit comments

Comments
 (0)