Since insert preceedes deletes, follow that ordering in Transaction::changes.
Produces the same output but will take the happy path.
This commit is contained in:
parent
0541fbb85f
commit
b0b5451c38
1 changed files with 1 additions and 1 deletions
|
@ -477,8 +477,8 @@ impl Transaction {
|
|||
let span = to - from;
|
||||
match tendril {
|
||||
Some(text) => {
|
||||
changeset.delete(span);
|
||||
changeset.insert(text);
|
||||
changeset.delete(span);
|
||||
}
|
||||
None => changeset.delete(span),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue