Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace use of let_chains with other methods #120

Merged
merged 6 commits into from
Sep 14, 2024
Merged

Conversation

chyyran
Copy link
Member

@chyyran chyyran commented Sep 14, 2024

  • Use Option::filter instead of let Some(x) && x.pred
  • Use is_some_and where appropriate
  • Break up some nasty control flow with labeled breaks

@chyyran chyyran merged commit 8b2ff57 into master Sep 14, 2024
3 checks passed
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