chore: fmt

This commit is contained in:
Greg Johnston 2024-07-21 09:00:49 -04:00
parent e7a8067f9b
commit a1ca8549a1
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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