correct the document delta by removing unnecessary op

This commit is contained in:
appflowy
2022-01-06 12:39:32 +08:00
parent b239f28d10
commit 9ca2d60f3f
6 changed files with 30 additions and 44 deletions

View File

@ -241,7 +241,7 @@ where
.next_op_with_len(length)
.unwrap_or_else(|| OpBuilder::retain(length).build());
debug_assert_eq!(op.len(), other_op.len());
// debug_assert_eq!(op.len(), other_op.len(), "Composing delta failed,");
match (&op, &other_op) {
(Operation::Retain(retain), Operation::Retain(other_retain)) => {