From 3c35762455874577f79c8b8e820c53831247e699 Mon Sep 17 00:00:00 2001 From: Sebastian Pravda Date: Mon, 24 Oct 2022 22:05:22 +0200 Subject: [PATCH] style: typo --- core/src/crypto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/crypto.rs b/core/src/crypto.rs index 6ea97b9..7047e55 100644 --- a/core/src/crypto.rs +++ b/core/src/crypto.rs @@ -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)