polish: remove warnings on core macero

This commit is contained in:
Jonathan Kelley committed 2021-09-24 20:51:48 -04:00
1 parent b43a964f98
commit 6587224deb
10 files changed
+38 -96

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ use syn::{
// ==============================================
// Parse any div {} as a VElement
// ==============================================
pub enum BodyNode<const AS: HTML_OR_RSX> {
pub enum BodyNode<const AS: HtmlOrRsx> {
Element(AmbiguousElement<AS>),
Text(TextNode),
RawExpr(Expr),
@@ -57,7 +57,7 @@ impl Parse for BodyNode<AS_HTML> {
}
}
impl<const AS: HTML_OR_RSX> ToTokens for BodyNode<AS> {
impl<const AS: HtmlOrRsx> ToTokens for BodyNode<AS> {
fn to_tokens(&self, tokens: &mut TokenStream2) {
match &self {
BodyNode::Element(el) => el.to_tokens(tokens),