Skip to content

Commit

Permalink
is this enough formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza1311 committed Aug 8, 2022
1 parent 5e8c4c4 commit 00deee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew-macro/src/html_tree/html_element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ impl ToTokens for HtmlElement {
.chain(class_attr)
.collect::<Vec<(LitStr, Value, bool)>>();
try_into_static(&attrs).unwrap_or_else(|| {
let keys = attrs.iter().map(|(k, _, _)| quote! { #k });
let keys = attrs.iter().map(|(k, ..)| quote! { #k });
let values = attrs.iter().map(|(_, v, is_forced_attribute)| {
let apply_as = if *is_forced_attribute {
quote! { ::yew::virtual_dom::ApplyAttributeAs::Attribute }
Expand Down

0 comments on commit 00deee5

Please sign in to comment.