Add another missing must_use

This commit is contained in:
GBA bot 2022-01-01 11:35:49 +00:00
parent 5f13c69fcf
commit fa88bc40c6

View file

@ -384,6 +384,7 @@ fn test_macro_conversion(_gba: &mut super::Gba) {
}
impl<I: FixedWidthSignedInteger, const N: usize> Num<I, N> {
#[must_use]
pub fn abs(self) -> Self {
Num(self.0.fixed_abs())
}