Skip to content

Commit

Permalink
Fix rust-analyzer non_camel_case_types warning (#3388)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruton authored Sep 5, 2023
1 parent 4038a97 commit 73f4bb9
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 73f4bb9

Please sign in to comment.