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 non-binding if let statements #4735

Merged
merged 2 commits into from Jun 3, 2022

Commits on Jun 2, 2022

  1. Replace non-binding if let statements

    Found some `if let` statements that don't actually bind any variables.
    This can make it somewhat confusing as to whether the pattern is binding
    the value or being matched against. Switching to `matches!` and equality
    comparisons allow these to be removed.
    David Koloski committed Jun 2, 2022
    Copy the full SHA
    93f9634 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    David Koloski committed Jun 2, 2022
    Copy the full SHA
    f9a30f8 View commit details
    Browse the repository at this point in the history