fix: make clippy happy

This commit is contained in:
Jonathan Kelley committed 2022-02-23 11:37:28 -05:00
1 parent 1f4d2cd6e4
commit 03feaa446a
1 file changed
+1 -3
+1 -3
View File
@@ -4,7 +4,7 @@ use proc_macro2::TokenStream as TokenStream2;
use quote::{quote, ToTokens, TokenStreamExt};
use syn::{
parse::{Parse, ParseStream},
token, Attribute, Expr, LitStr, Result, Token,
token, Expr, LitStr, Result, Token,
};
/*
@@ -20,7 +20,6 @@ pub enum BodyNode {
Component(Component),
Text(LitStr),
RawExpr(Expr),
Meta(Attribute),
}
impl Parse for BodyNode {
@@ -80,7 +79,6 @@ impl ToTokens for BodyNode {
BodyNode::RawExpr(exp) => tokens.append_all(quote! {
__cx.fragment_from_iter(#exp)
}),
BodyNode::Meta(_) => {}
}
}
}