Skip to content

Commit c814399

Browse files
committed
fix rust-analyzer non_camel_case_types warning
1 parent 7ef8e0d commit c814399

File tree

1 file changed

+1
-0
lines changed
  • packages/yew-macro/src/derive_props

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ impl<'a> PropFieldCheck<'a> {
279279

280280
quote! {
281281
#[doc(hidden)]
282+
#[allow(non_camel_case_types)]
282283
#vis struct #check_struct<How>(::std::marker::PhantomData<How>);
283284

284285
#[automatically_derived]

0 commit comments

Comments
 (0)