Skip to main content

collapse

Function collapse 

Source
pub fn collapse(input: &str) -> Option<Collapsed>
Expand description

Collapse runs of identical lines. None when nothing collapses or the input carries a reserved line (the result would not invert exactly).