fix more lints
This commit is contained in:
@@ -49,7 +49,7 @@ fn generate_variant_constants<'a>(
|
||||
);
|
||||
|
||||
quote! {
|
||||
pub(crate) const #variant_uppercase: &str = #name::#variant_name.name();
|
||||
pub const #variant_uppercase: &str = #name::#variant_name.name();
|
||||
}
|
||||
});
|
||||
result
|
||||
|
||||
@@ -77,7 +77,7 @@ fn generate_variant_imports(enum_data: &syn::DataEnum) -> impl Iterator<Item = T
|
||||
);
|
||||
|
||||
quote! {
|
||||
pub(crate) use actual::#variant_module::#variant_name;
|
||||
pub use actual::#variant_module::#variant_name;
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user