Skip to main content

slug

Function slug 

Source
pub fn slug(id: &str) -> String
Expand description

A stable id written as part of a Fluent identifier: ASCII letters, digits and - are kept, every other character becomes - (app.quit gives app-quit). Two ids that differ only by those characters share a key.