Skip to main content

path_slug

Function path_slug 

Source
pub fn path_slug(name: &str) -> String
Expand description

A path component, and agent.open’s id for a definition with no slug: lowercase; Unicode alphanumerics, - and _ kept, everything else -; no collapsing, no cap. Zed Bot → zed-bot, Ä → ä.