mirror of
https://github.com/loro-dev/loro.git
synced 2024-11-28 17:41:49 +00:00
fix: list_op delete merge error
This commit is contained in:
parent
a662650cab
commit
24773ac217
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ impl Mergable for ListOp {
|
|||
_ => false,
|
||||
},
|
||||
ListOp::Delete { pos, len } => match _other {
|
||||
ListOp::Delete { pos: other_pos, .. } => pos + len == *other_pos,
|
||||
ListOp::Delete { pos: other_pos, .. } => *pos == *other_pos,
|
||||
_ => false,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue