Skip to main content

slug_of

Function slug_of 

Source
pub fn slug_of(title: &str) -> String
Expand description

The slug a title gives: lower case, runs of anything but a-z0-9 as one -, at most TASK_SLUG_MAX bytes.