Skip to content

style(lib): enforce clippy::unnested_or_patterns - #4256

Merged
cratelyn merged 1 commit into
hyperium:masterfrom
trivikr:clippy_unnested_or_patterns
Nov 2, 2026
Merged

cratelyn merged 1 commit into
hyperium:masterfrom
trivikr:clippy_unnested_or_patterns

Conversation

@trivikr

@trivikr trivikr commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

see #4071.

Lint doc: https://clippy.rust-lang.org/master/index.html#unnested_or_patterns

The rule rewrites patterns in disjunctive normal form (DNF) into
conjunctive normal form (CNF). Four patterns were flagged by this
rule, which were replaced with equivalent nested ones.

@cratelyn cratelyn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thank you!

@cratelyn
cratelyn merged commit cf563e8 into hyperium:master Nov 2, 2026
24 checks passed
@trivikr
trivikr deleted the clippy_unnested_or_patterns branch November 2, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants