fix: in `<For/>`, `removed` not being cleared when setting a diff to clear, causing panic (#1220)

This commit is contained in:
jquesada2016 2023-06-21 13:19:12 -06:00 committed by GitHub
parent 2cb8171105
commit 1d7235d4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -653,6 +653,7 @@ fn apply_opts<K: Eq + Hash>(
&& cmds.moved.is_empty()
{
cmds.clear = true;
cmds.removed.clear();
cmds.added
.iter_mut()