chore: fmt
This commit is contained in:
parent
e7a8067f9b
commit
a1ca8549a1
|
@ -450,7 +450,7 @@ fn attribute_to_tokens(
|
|||
// circumstances in which we just do unchecked attributes
|
||||
// 1) custom elements, which can have any attributes
|
||||
// 2) custom attributes and data attributes (so, anything with - in it)
|
||||
else if is_custom ||
|
||||
else if is_custom ||
|
||||
(name.contains('-') && !name.starts_with("aria-"))
|
||||
// TODO check: do we actually provide SVG attributes?
|
||||
// we don't provide statically-checked methods for SVG attributes
|
||||
|
|
|
@ -201,7 +201,6 @@ impl ToTokens for Model {
|
|||
field_to_tokens(idx, false, modes.as_deref(), &library_path, ident.as_ref(), generics, &any_store_field, struct_name, ty),
|
||||
field_to_tokens(idx, true, modes.as_deref(), &library_path, ident.as_ref(), generics, &any_store_field, struct_name, ty),
|
||||
)
|
||||
|
||||
});
|
||||
|
||||
// implement that trait for all StoreFields
|
||||
|
|
Loading…
Reference in New Issue