nextest_runner::reporter

Function highlight_end

source
pub fn highlight_end(slice: &[u8]) -> usize
Expand description

Given a slice, find the index of the point at which highlighting should end.

Returns a value in the range [0, slice.len()].