Skip to content

Commit 90f07d7

Browse files
committed
remove unused braces
1 parent 1f03a04 commit 90f07d7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/yew-macro/src/html_tree/html_component.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ impl ToTokens for HtmlComponent {
119119
};
120120

121121
tokens.extend(quote_spanned! {ty.span()=>
122-
{
123-
#[allow(clippy::unit_arg)]
124-
::yew::virtual_dom::VChild::<#ty>::new(#build_props, #node_ref, #key)
125-
}
122+
#[allow(clippy::unit_arg)]
123+
::yew::virtual_dom::VChild::<#ty>::new(#build_props, #node_ref, #key)
126124
});
127125
}
128126
}

0 commit comments

Comments
 (0)