mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-10 21:25:25 +00:00
Remove unused function
This commit is contained in:
parent
393f8e5e0c
commit
abf352b957
1 changed files with 0 additions and 8 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue