Skip to main content

reference_post_process

Function reference_post_process 

Source
pub fn reference_post_process(
    matches: &[ByteRange],
    haystack: &[u8],
) -> Vec<PostProcessedMatch>
Expand description

Infallible reference wrapper for callers whose matcher contract has already proved all ranges are within haystack.

Panics on corrupt match triples. Callers that need recoverable diagnostics use try_reference_post_process.