-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phone-number, scale-generator: use range::contains (#1036)
I'm honestly not really convinced by the phone-number one but I guess it's one fewer mention of number_len so it's fine. https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
- Loading branch information
1 parent
0b3a64e
commit 9ad579f
Showing
2 changed files
with
2 additions
and
3 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