Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions packages/yew-macro/src/html_tree/html_component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ impl ToTokens for HtmlComponent {
};

tokens.extend(quote_spanned! {ty.span()=>
{
#[allow(clippy::unit_arg)]
::yew::virtual_dom::VChild::<#ty>::new(#build_props, #node_ref, #key)
}
#[allow(clippy::unit_arg)]
::yew::virtual_dom::VChild::<#ty>::new(#build_props, #node_ref, #key)
});
}
}
Expand Down