From eef1f2e89df9ae489cebe9cf3669583a6fd23c8e Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Wed, 4 Dec 2024 19:31:46 -0500 Subject: [PATCH 1/2] fix: correctly swap `Vec<_>` in the DOM (closes #3321) --- tachys/src/view/iterators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tachys/src/view/iterators.rs b/tachys/src/view/iterators.rs index 32efde5252..c5041b2f7a 100644 --- a/tachys/src/view/iterators.rs +++ b/tachys/src/view/iterators.rs @@ -224,7 +224,7 @@ where if let Some(first) = self.states.first() { first.insert_before_this(child) } else { - false + self.marker.insert_before_this(child) } } } From a398648b5008af3ee1ae90b3c969966144141429 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 00:41:56 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 534dd84bfe..e54a4ff679 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -918,7 +918,7 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "either_of" -version = "0.1.0" +version = "0.1.1" dependencies = [ "pin-project-lite", ]