Skip to main content

fit

Function fit 

Source
fn fit(lines: Vec<String>, max: usize) -> (Vec<String>, bool)
Expand description

Keeps the newest lines whose text fits max bytes; says whether any were left out.