diff --git a/crates/loro-internal/src/txn.rs b/crates/loro-internal/src/txn.rs index 6fe3c725..28cc4f44 100644 --- a/crates/loro-internal/src/txn.rs +++ b/crates/loro-internal/src/txn.rs @@ -495,7 +495,8 @@ fn change_to_diff( match &hint { EventHint::InsertText { .. } | EventHint::InsertList { .. } - | EventHint::DeleteText { .. } => {} + | EventHint::DeleteText { .. } + | EventHint::DeleteList(_) => {} _ => { assert_eq!(ops.len(), 1); }