Skip to main content

clean_line

Function clean_line 

Source
pub fn clean_line(text: &str) -> Option<String>
Expand description

One line: whitespace and control characters folded to single spaces, trimmed and capped at MAX_LINE_CHARS. None when nothing is left.