Skip to content

Commit 855de12

Browse files
authored
Fix rust-analyzer #[derive(Properties)] warnings (#2007)
Fix #2006
1 parent c6099cf commit 855de12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/yew-macro/src/derive_props/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ impl ToTokens for PropsBuilder<'_> {
5252
let builder = quote! {
5353
#(
5454
#[doc(hidden)]
55+
#[allow(non_camel_case_types)]
5556
#vis struct #step_names;
5657
)*
5758

0 commit comments

Comments
 (0)