pub fn chunk(src: &str, max_chars: usize) -> Vec<String>Expand description
Split src into chunks no larger than max_chars.
max_chars is a soft cap: a single function larger than the cap is
returned whole as one chunk (preserving local context is more
important than honoring the cap).