Skip to main content

same_len

Function same_len 

Source
pub fn same_len(a: usize, b: usize, what: &str) -> Result<()>
Expand description

Return Error::Shape unless a == b (what names the two inputs).

ยงErrors

Error::Shape when the lengths differ.