Skip to content

Clippy fixes v7#10169

Closed
catenacyber wants to merge 2 commits intoOISF:masterfrom
catenacyber:clippy-fixes-v7
Closed

Clippy fixes v7#10169
catenacyber wants to merge 2 commits intoOISF:masterfrom
catenacyber:clippy-fixes-v7

Conversation

@catenacyber
Copy link
Contributor

Link to redmine ticket:
None

Describe changes:

  • rust: make cargo clippy clean (without the --all-features options, that is without the debug feature)

Follow up after merge of #10156

Fixing single_match and manual_find intertwined with SCLogDebug
@codecov
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (6896a93) 82.12% compared to head (43c9620) 82.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10169      +/-   ##
==========================================
- Coverage   82.12%   82.11%   -0.01%     
==========================================
  Files         975      975              
  Lines      271724   271693      -31     
==========================================
- Hits       223151   223114      -37     
- Misses      48573    48579       +6     
Flag Coverage Δ
fuzzcorpus 62.70% <96.87%> (-0.02%) ⬇️
suricata-verify 61.43% <81.25%> (+0.01%) ⬆️
unittests 62.85% <1.56%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@jasonish jasonish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Some debug log lost, but nothing I'm particularly concerned about.

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on TREX_GENERIC_rule_time.

Pipeline 17566

}
}
None
return self.transactions.iter_mut().find(|tx| tx.seqnum == hdr.seqnum && tx.activityuuid == hdr.activityuuid && ((hdr.pkt_type == DCERPC_TYPE_REQUEST && !tx.req_done) || (hdr.pkt_type == DCERPC_TYPE_RESPONSE && !tx.resp_done)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this rustfmt clean? Seems like an excessively long line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it was not...

Are you ready for #10088 after this one ?

@catenacyber catenacyber mentioned this pull request Jan 20, 2024
@catenacyber
Copy link
Contributor Author

Continued in #10207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants