Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from dtolnay/camelcase
Browse files Browse the repository at this point in the history
Turn off non_camel_case_types lint
  • Loading branch information
dtolnay authored Sep 2, 2023
2 parents c169331 + e8e47cf commit 1997916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ pub fn derive(input: TokenStream) -> TokenStream {
TokenStream::from(quote! {
impl #ident {
pub #signature -> Option<Self> {
#[allow(non_camel_case_types)]
struct discriminant;
#[allow(non_upper_case_globals)]
impl discriminant {
Expand Down

0 comments on commit 1997916

Please sign in to comment.