Skip to main content

source_line

Function source_line 

Source
pub fn source_line(source: &[u8], line_idx: usize) -> String
Expand description

Return the (1-based) line_idx-th line from source as a trimmed string.