Skip to main content

auths_core/
utils.rs

1//! Utility helpers.
2
3/// Trim and lowercase an alias string to produce a canonical form.
4pub fn sanitize_alias(alias: &str) -> String {
5    alias.trim().to_lowercase()
6}