mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Fix clippy::let_unit_value lint in propless components (#2970)
This commit is contained in:
parent
d37532f5d9
commit
9e980a36b4
@ -145,6 +145,7 @@ impl ToTokens for HtmlComponent {
|
||||
tokens.extend(quote_spanned! {ty_span=>
|
||||
{
|
||||
#use_close_tag
|
||||
#[allow(clippy::let_unit_value)]
|
||||
let __yew_props = #build_props;
|
||||
::yew::virtual_dom::VChild::<#ty>::new(__yew_props, #key)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user