Skip to content

Commit

Permalink
fix rust-analyzer non_camel_case_types warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruton committed Aug 29, 2023
1 parent 7ef8e0d commit c814399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yew-macro/src/derive_props/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ impl<'a> PropFieldCheck<'a> {

quote! {
#[doc(hidden)]
#[allow(non_camel_case_types)]
#vis struct #check_struct<How>(::std::marker::PhantomData<How>);

#[automatically_derived]
Expand Down

0 comments on commit c814399

Please sign in to comment.