mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Make to_raw take self by value rather than reference
This commit is contained in:
parent
54e28f5dd4
commit
aa39b2b6ad
|
@ -208,7 +208,7 @@ impl<I: FixedWidthUnsignedInteger, const N: usize> Num<I, N> {
|
||||||
Num(n)
|
Num(n)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn to_raw(&self) -> I {
|
pub fn to_raw(self) -> I {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue