tidy::iter_header

Function iter_header

Source
pub(crate) fn iter_header<'ln>(
    contents: &'ln str,
    it: &mut dyn FnMut(HeaderLine<'ln>),
)
Expand description

Iterate through compiletest headers in a test contents.

Adjusted from compiletest/src/header.rs.