mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 21:07:43 +00:00
chore: add doc for del
This commit is contained in:
parent
e883177369
commit
65175743f2
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ impl Mergable for ListOp {
|
|||
} => pos + slice.len() == *other_pos && slice.is_mergable(other_slice, &()),
|
||||
_ => false,
|
||||
},
|
||||
// TODO: add support for reverse merge
|
||||
ListOp::Delete { pos, len } => match _other {
|
||||
ListOp::Delete { pos: other_pos, .. } => *pos == *other_pos,
|
||||
_ => false,
|
||||
|
|
Loading…
Reference in a new issue