mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Add another missing must_use
This commit is contained in:
parent
5f13c69fcf
commit
fa88bc40c6
|
@ -384,6 +384,7 @@ fn test_macro_conversion(_gba: &mut super::Gba) {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<I: FixedWidthSignedInteger, const N: usize> Num<I, N> {
|
impl<I: FixedWidthSignedInteger, const N: usize> Num<I, N> {
|
||||||
|
#[must_use]
|
||||||
pub fn abs(self) -> Self {
|
pub fn abs(self) -> Self {
|
||||||
Num(self.0.fixed_abs())
|
Num(self.0.fixed_abs())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue