From abf352b957978b9d6576dec602eed0029438f888 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Fri, 20 May 2022 01:51:53 +0900 Subject: [PATCH] Remove unused function --- plume-common/src/utils.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plume-common/src/utils.rs b/plume-common/src/utils.rs index 17912a02..efce6f2b 100644 --- a/plume-common/src/utils.rs +++ b/plume-common/src/utils.rs @@ -16,14 +16,6 @@ pub fn random_hex() -> String { .fold(String::new(), |res, byte| format!("{}{:x}", res, byte)) } -/// Remove non alphanumeric characters and CamelCase a string -pub fn make_actor_id(name: &str) -> String { - name.to_upper_camel_case() - .chars() - .filter(|c| c.is_alphanumeric()) - .collect() -} - /** * Percent-encode characters which are not allowed in IRI path segments. *