onespace

Function onespace 

Source
pub fn onespace(text: &str) -> String
Expand description

Collapses runs of spaces into a single space and trims ends.