mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
style: typo
This commit is contained in:
parent
15205e8ec4
commit
3c35762455
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ pub fn random_8_char_string() -> String {
|
|||
|
||||
|
||||
let mut s = String::new();
|
||||
for c in iterator { // remove all uppercase and lowercase characters, exclude 0 and O
|
||||
for c in iterator { // add all characters except for: lowercase chars, 0 and O
|
||||
if ('1'..='9').contains(&c) ||
|
||||
('A'..='N').contains(&c) ||
|
||||
('P'..'Z').contains(&c)
|
||||
|
|
|
|||
Loading…
Reference in a new issue