From faf7623574c2c73eac1cf9b3e5eec431e80998a8 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 22 Jul 2021 11:52:35 +0200 Subject: [PATCH] remove debug statements --- crates/utils/src/utils.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/utils/src/utils.rs b/crates/utils/src/utils.rs index ca163aae0..d063359ba 100644 --- a/crates/utils/src/utils.rs +++ b/crates/utils/src/utils.rs @@ -119,10 +119,6 @@ pub fn is_valid_actor_name(name: &str) -> bool { let max_length = Settings::get() .actor_name_max_length .unwrap_or_else(|| Settings::default().actor_name_max_length.unwrap()); - dbg!(&max_length); - dbg!(&name); - dbg!(name.chars().count() <= max_length); - dbg!(VALID_ACTOR_NAME_REGEX.is_match(name)); name.chars().count() <= max_length && VALID_ACTOR_NAME_REGEX.is_match(name) }