mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-02 11:06:14 +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, &()),
|
} => pos + slice.len() == *other_pos && slice.is_mergable(other_slice, &()),
|
||||||
_ => false,
|
_ => false,
|
||||||
},
|
},
|
||||||
|
// TODO: add support for reverse merge
|
||||||
ListOp::Delete { pos, len } => match _other {
|
ListOp::Delete { pos, len } => match _other {
|
||||||
ListOp::Delete { pos: other_pos, .. } => *pos == *other_pos,
|
ListOp::Delete { pos: other_pos, .. } => *pos == *other_pos,
|
||||||
_ => false,
|
_ => false,
|
||||||
|
|
Loading…
Reference in a new issue