Skip to content

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

Open
trivikr wants to merge 1 commit into
hyperium:masterfrom
trivikr:clippy_unnested_or_patterns
Open

trivikr wants to merge 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.

This branch has not been deployed

No deployments
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.

1 participant