Skip to content

Fix remaining clippy issues with --all-targets#1113

Merged
lionel- merged 6 commits intomainfrom
task/clippy-manual-all-targets
Mar 16, 2026
Merged

Fix remaining clippy issues with --all-targets#1113
lionel- merged 6 commits intomainfrom
task/clippy-manual-all-targets

Conversation

@lionel-
Copy link
Contributor

@lionel- lionel- commented Mar 12, 2026

Branched from #1112
Progress towards #1104


($expression:expr, $pattern:pat_param) => {
assert!(matches!($expression, $pattern))
#[allow(clippy::redundant_pattern_matching)]
Copy link
Contributor

Choose a reason for hiding this comment

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

do you know what this one is about?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That prevents clippy from complaining that we could use .is_some() instead of Some(_)

@lionel- lionel- force-pushed the task/clippy-auto-all-targets branch from ff811c7 to 6715348 Compare March 16, 2026 13:07
Base automatically changed from task/clippy-auto-all-targets to main March 16, 2026 13:15
@lionel- lionel- force-pushed the task/clippy-manual-all-targets branch from 8aa7393 to d4d8027 Compare March 16, 2026 14:16
@lionel- lionel- merged commit d276183 into main Mar 16, 2026
12 checks passed
@lionel- lionel- deleted the task/clippy-manual-all-targets branch March 16, 2026 15:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants