Fix typo in Point::add_assign
This commit is contained in:
@@ -72,7 +72,7 @@ impl Sub for Point {
|
||||
|
||||
impl<'a> AddAssign<&'a Self> for Point {
|
||||
fn add_assign(&mut self, other: &'a Self) {
|
||||
*self += *self;
|
||||
*self += *other;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user