Skip to content

8.0.x: rust: clippy fixes - #16106

Closed
jasonish wants to merge 2 commits into
OISF:main-8.0.xfrom
jasonish:8.0.x/clippy/v1
Closed

8.0.x: rust: clippy fixes#16106
jasonish wants to merge 2 commits into
OISF:main-8.0.xfrom
jasonish:8.0.x/clippy/v1

Conversation

@jasonish

Copy link
Copy Markdown
Member
  • rust: fix clippy warnings
  • github-ci: set rust version known to 1.98.0

Fix the following lints:
- clippy::box_default
- clippy::byte_char_slices
- clippy::collapsible_match
- clippy::manual_clear
- clippy::question_mark
- clippy::to_string_in_format_args
- clippy::useless_borrows_in_formatting
- unused_imports (rustc)
The previous commit makes us clippy clean on 1.98.0.
@suricata-review-bot

Copy link
Copy Markdown

AI-generated review posted automatically by Suricata ai-review.

Verdict: approve

No high- or medium-severity findings.

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.19355% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.68%. Comparing base (9b63a58) to head (fe9aa7e).

Additional details and impacted files
@@              Coverage Diff               @@
##           main-8.0.x   #16106      +/-   ##
==============================================
- Coverage       81.69%   81.68%   -0.01%     
==============================================
  Files            1016     1016              
  Lines          277166   277151      -15     
==============================================
- Hits           226430   226395      -35     
- Misses          50736    50756      +20     
Flag Coverage Δ
fuzzcorpus 63.89% <64.51%> (-0.02%) ⬇️
livemode 18.67% <6.45%> (-0.01%) ⬇️
netns 20.14% <6.45%> (-0.01%) ⬇️
pcap 44.48% <58.06%> (-0.01%) ⬇️
suricata-verify 65.17% <67.74%> (-0.04%) ⬇️
unittests 58.59% <41.93%> (+<0.01%) ⬆️

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jasonish jasonish added this to the 8.0 milestone Aug 25, 2026
@suricata-qa

Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 33331

@victorjulien

Copy link
Copy Markdown
Member

Merged in #16113, thanks!

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