From 63f8da2fb5747185827b2ad06d4af6913effb6c6 Mon Sep 17 00:00:00 2001 From: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com> Date: Fri, 21 Jun 2024 20:30:33 +0800 Subject: [PATCH] feat: Attr exposes PhantomData field (#2641) --- tachys/src/html/attribute/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tachys/src/html/attribute/mod.rs b/tachys/src/html/attribute/mod.rs index db26f7061..36ec3ece8 100644 --- a/tachys/src/html/attribute/mod.rs +++ b/tachys/src/html/attribute/mod.rs @@ -103,7 +103,7 @@ where } #[derive(Debug)] -pub struct Attr(pub K, pub V, PhantomData) +pub struct Attr(pub K, pub V, pub PhantomData) where K: AttributeKey, V: AttributeValue,