Skip to main content

violates_max_consecutive

Function violates_max_consecutive 

Source
fn violates_max_consecutive(buf: &[char], limit: usize) -> bool
Expand description

Returns true if buf contains a run of identical characters longer than limit.