Skip to main content

compute_test_lines

Function compute_test_lines 

Source
pub fn compute_test_lines(content: &str) -> HashSet<usize>
Expand description

Determine which lines are inside test code (after #[cfg(test)] or #test).