chore: start instead of flart

This commit is contained in:
Jonathan Kelley committed 2022-12-26 09:58:41 -05:00
1 parent 8b854963e9
commit c240aebfa1
3 files changed
+6 -7

No files matched your search

+3 -4
View File
@@ -66,7 +66,6 @@ impl Parse for Element {
if content.parse::<Token![,]>().is_err() {
missing_trailing_comma!(ident.span());
}
continue;
}
@@ -211,7 +210,7 @@ pub enum ElementAttr {
}
impl ElementAttr {
pub fn flart(&self) -> Span {
pub fn start(&self) -> Span {
match self {
ElementAttr::AttrText { name, .. } => name.span(),
ElementAttr::AttrExpression { name, .. } => name.span(),
@@ -265,7 +264,7 @@ impl ToTokens for ElementAttrNamed {
ElementAttr::CustomAttrText { name, value } => {
quote! {
__cx.attr(
#name,
dioxus_elements::#el_name::#name.0,
#value,
None,
false
@@ -275,7 +274,7 @@ impl ToTokens for ElementAttrNamed {
ElementAttr::CustomAttrExpression { name, value } => {
quote! {
__cx.attr(
#name,
dioxus_elements::#el_name::#name.0,
#value,
None,
false