Function regex_automata::util::wire::mul

source ·
pub(crate) fn mul(
    a: usize,
    b: usize,
    what: &'static str,
) -> Result<usize, DeserializeError>
Expand description

Multiply the given numbers, and on overflow, return an error that includes ‘what’ in the error message.

This is useful when doing arithmetic with untrusted data.