Skip to main content

parse_related_cases

Function parse_related_cases 

Source
pub fn parse_related_cases(
    body: &str,
    section_start_line: usize,
    errors: &mut Vec<ParseError>,
) -> Vec<RelatedCase>
Expand description

Parse the body of a ## Related Cases section into RelatedCase entries.

Each entry is a bullet - <case_path> followed by an indented description: <text> line. Validates limits and non-empty fields.