Skip to content

fix: hide false positive clippy error - #397

Open
ndrscodes wants to merge 4 commits into
monoio-rs:masterfrom
ndrscodes:feat/clippy-errors
Open

fix: hide false positive clippy error#397
ndrscodes wants to merge 4 commits into
monoio-rs:masterfrom
ndrscodes:feat/clippy-errors

Conversation

@ndrscodes

Copy link
Copy Markdown

Problem

Clippy detects an if statement as an if statement inside a match arm when in reality it is part of the match pattern.

Solution

Hide clippy's collapsible match warning for the specific match statement, with a comment explaining the false positive.

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