From ad31b4be94efcca4c9f4217cd0af6dee21afeb9d Mon Sep 17 00:00:00 2001 From: Sebastian Pravda Date: Fri, 16 Dec 2022 17:47:18 +0100 Subject: [PATCH] style: random 12 character string comment --- 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 427fb48..ae36c4a 100644 --- a/core/src/crypto.rs +++ b/core/src/crypto.rs @@ -14,7 +14,7 @@ use std::str::FromStr; use crate::error::ServiceError; /// Foolproof random 12 char string -/// only uppercase letters (except for 0 and O) and numbers +/// Only uppercase letters (except for O) and numbers (except for 0) pub fn random_12_char_string() -> String { let random_chars_12: Vec = rand::thread_rng() .sample_iter(&rand::distributions::Alphanumeric)