This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 857
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nitpicks: is_some() refactor (#1642)
### Description During the review of the codebase, I found some nitpicks in Options and pattern matching. Here's a quick PR to improve readability. ### Type of change Nitpick ### Rationale - Nested conditions hurt readability, match patterns when possible - unwrapping Options inside a branch beats the purpose of Options
- Loading branch information
1 parent
2176191
commit 265f561
Showing
3 changed files
with
56 additions
and
86 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
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
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