Fix typo in Point::add_assign

This commit is contained in:
Max Brunsfeld 2021-07-19 13:28:35 -07:00
parent e193a660aa
commit 8e9a5e072d

View file

@ -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;
}
}