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.
pub fn same_len(a: usize, b: usize, what: &str) -> Result<()>Return Error::Shape unless a == b (what names the two inputs).
Error::Shape when the lengths differ.