diff --git a/packages/core/src/nodes.rs b/packages/core/src/nodes.rs index 2ea10ac329..0d059bd5cb 100644 --- a/packages/core/src/nodes.rs +++ b/packages/core/src/nodes.rs @@ -1123,6 +1123,12 @@ impl IntoAttributeValue for Option { } } +impl, R: IntoAttributeValue> IntoAttributeValue for &T { + fn into_value(self) -> AttributeValue { + self.to_owned().into_value() + } +} + pub struct AnyFmtMarker; impl IntoAttributeValue for T where