mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 23:26:33 +11:00
Get implementation of AddAssign correct
This commit is contained in:
parent
0b8eda336d
commit
0099dfa688
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ where
|
|||
T: Into<Num<N>>,
|
||||
{
|
||||
fn add_assign(&mut self, rhs: T) {
|
||||
self.0 += (*self + rhs.into()).0
|
||||
self.0 = (*self + rhs.into()).0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue