Function fuel_vm::arith::checked_sub_word
source · pub fn checked_sub_word(a: Word, b: Word) -> Result<Word, PanicReason>
Expand description
Subtract two unchecked words, returning an error if overflow
pub fn checked_sub_word(a: Word, b: Word) -> Result<Word, PanicReason>
Subtract two unchecked words, returning an error if overflow