allow arbitrary attribute value in owned attribute value (#574)
This commit is contained in:
1 parent
e98f46bbcc
commit
928b5358b2
4 files changed
+92
-4
No files matched your search
@@ -216,6 +216,7 @@ impl ToTokens for TemplateAttributeBuilder {
|
||||
OwnedAttributeValue::Bytes(b) => {
|
||||
quote! {StaticAttributeValue::Bytes(&[#(#b),*])}
|
||||
}
|
||||
OwnedAttributeValue::Any(_) => todo!(),
|
||||
};
|
||||
quote! {TemplateAttributeValue::Static(#val)}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user