Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: replace non-binding
if let
statements (#4735)
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. Co-authored-by: David Koloski <dkoloski@google.com>
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters