diff --git a/plume-common/src/utils.rs b/plume-common/src/utils.rs index 4f55a53a..cae6504d 100644 --- a/plume-common/src/utils.rs +++ b/plume-common/src/utils.rs @@ -1,4 +1,4 @@ -use heck::CamelCase; +use heck::ToUpperCamelCase; use openssl::rand::rand_bytes; use pulldown_cmark::{html, CodeBlockKind, CowStr, Event, LinkType, Options, Parser, Tag}; use regex_syntax::is_word_character; @@ -21,7 +21,7 @@ pub fn random_hex() -> String { /// Remove non alphanumeric characters and CamelCase a string pub fn make_actor_id(name: &str) -> String { - name.to_camel_case() + name.to_upper_camel_case() .chars() .filter(|c| c.is_alphanumeric()) .collect()