Skip to main content

same_length_check

Function same_length_check 

Source
pub fn same_length_check<A, B>(a: &[A], b: &[B]) -> Result<(), String>
Expand description

Assert that two slices have the same length and return an error otherwise.