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

Commit

Permalink
Turn off non_camel_case_types lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 2, 2023
1 parent c169331 commit e8e47cf
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 e8e47cf

Please sign in to comment.