pub fn compare_lists_with_matchingrules<T>(
    path: &DocPath,
    matching_rules: &RuleList,
    expected: &[T],
    actual: &[T],
    context: &(dyn MatchingContext + Send + Sync),
    callback: &mut dyn FnMut(&DocPath, &T, &T, &(dyn MatchingContext + Send + Sync)) -> Result<(), Vec<CommonMismatch>>
) -> Result<(), Vec<CommonMismatch>>
where T: Display + Debug + PartialEq + Clone + Sized,
Expand description

Compare the expected and actual lists using matching rules