Skip to main content

slug

Function slug 

Source
pub fn slug(s: &str, separator: char) -> String
Expand description

Convert a string to a URL-safe slug with the given separator.