tail_lines

Function tail_lines 

Source
fn tail_lines(s: &str, max_lines: usize, max_chars: usize) -> String
Expand description

Last max_lines non-empty lines of s, further capped to the last max_chars characters (char-safe — never slices mid-codepoint).