Skip to content

Conversation

@janus
Copy link
Contributor

@janus janus commented May 3, 2022

It improves code readability.

Fixes: #545


## Cause

Detect the use of match clause when it is used in basic control flow.
Copy link
Collaborator

Choose a reason for hiding this comment

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

@janus remove the words "Detect the" (and make use become Use obviously).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks.

@knocte
Copy link
Collaborator

knocte commented Nov 21, 2022

Superseded by #588

@knocte knocte closed this Nov 21, 2022
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.

Rule to recommend if-else construct instead of match clause

2 participants