@@ -584,7 +584,6 @@ impl DocState {
584584 diffs. push ( InternalContainerDiff {
585585 idx : new,
586586 bring_back : true ,
587- is_container_deleted : false ,
588587 diff : external_diff. into ( ) ,
589588 diff_mode : DiffMode :: Checkout ,
590589 } ) ;
@@ -688,7 +687,6 @@ impl DocState {
688687 diffs. push ( InternalContainerDiff {
689688 idx : new,
690689 bring_back : true ,
691- is_container_deleted : false ,
692690 diff : external_diff. into ( ) ,
693691 diff_mode : DiffMode :: Checkout ,
694692 } ) ;
@@ -861,7 +859,6 @@ impl DocState {
861859 . map ( |( & idx, state) | InternalContainerDiff {
862860 idx,
863861 bring_back : false ,
864- is_container_deleted : false ,
865862 diff : state
866863 . get_state_mut (
867864 idx,
@@ -1248,10 +1245,6 @@ impl DocState {
12481245 for diff in diffs {
12491246 #[ allow( clippy:: unnecessary_to_owned) ]
12501247 for container_diff in diff. diff . into_owned ( ) {
1251- if container_diff. is_container_deleted {
1252- // omit event form deleted container
1253- continue ;
1254- }
12551248 let Some ( ( last_container_diff, _) ) = containers. get_mut ( & container_diff. idx ) else {
12561249 if let Some ( path) = self . get_path ( container_diff. idx ) {
12571250 containers. insert ( container_diff. idx , ( container_diff. diff , path) ) ;
0 commit comments