Skip to content

Commit

Permalink
chore(craft-macros): Add #[allow(non_camel_case_types)] (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya authored Sep 29, 2024
1 parent cde829d commit 7e88621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/craft-macros/src/craft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ fn rewrite_method(
let where_clause = impl_generics.make_where_clause().clone();
parse_quote! {
#vis fn #method_name(#receiver) -> impl #handler {
#[allow(non_camel_case_types)]
pub struct handle #impl_generics(::std::sync::Arc<#self_ty>) #where_clause;
use ::std::ops::Deref;
impl #impl_generics Deref for handle #impl_generics #where_clause{
Expand Down

0 comments on commit 7e88621

Please sign in to comment.