mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 22:34:13 +00:00
Fix typo in Point::add_assign
This commit is contained in:
parent
e193a660aa
commit
8e9a5e072d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue