Skip to main content

normalize_whitespace

Function normalize_whitespace 

Source
fn normalize_whitespace(s: &str) -> String
Expand description

Normalize whitespace: collapse runs of whitespace (including newlines) into single spaces, then trim.