Skip to main content

highlight_match

Function highlight_match 

Source
pub fn highlight_match(text: &str, matched_indices: &[usize]) -> String
Expand description

Render matched text with highlighting using ANSI colors.