Skip to main content

validate_same_length

Function validate_same_length 

Source
pub fn validate_same_length<T, U>(
    items1: &[T],
    items2: &[U],
    name1: &str,
    name2: &str,
) -> Result<(), OCRError>
Expand description

Validates that two collections have the same length.