slugify in rustdoc::html::markdown - Rust (original) (raw)

fn slugify(c: char) -> Option<char>

Expand description

Convert chars from a title for an id.

“Hello, world!” -> “hello-world”