feat: Attr exposes PhantomData field (#2641)

This commit is contained in:
luoxiaozero 2024-06-21 20:30:33 +08:00 committed by Greg Johnston
parent c9e32b66bf
commit 63f8da2fb5

View file

@ -103,7 +103,7 @@ where
} }
#[derive(Debug)] #[derive(Debug)]
pub struct Attr<K, V, R>(pub K, pub V, PhantomData<R>) pub struct Attr<K, V, R>(pub K, pub V, pub PhantomData<R>)
where where
K: AttributeKey, K: AttributeKey,
V: AttributeValue<R>, V: AttributeValue<R>,