rust: suppress specific manual_flatten list

In this case of debug code, the explicit iterator seems to make more
sense.
pull/8468/head
Jason Ish 4 years ago committed by Victor Julien
parent 7080ecbb76
commit 64cb687a65

@ -320,6 +320,7 @@ impl NFSState {
Nfs4ResponseContent::ReadDir(_s, Some(ref rd)) => {
SCLogDebug!("READDIRv4: status {} eof {}", _s, rd.eof);
#[allow(clippy::manual_flatten)]
for d in &rd.listing {
if let Some(_d) = d {
SCLogDebug!("READDIRv4: dir {}", String::from_utf8_lossy(_d.name));

Loading…
Cancel
Save