Function mdbook::utils::collapse_whitespace[][src]

pub fn collapse_whitespace(text: &str) -> Cow<'_, str>
Expand description

Replaces multiple consecutive whitespace characters with a single space character.