mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
fix non_camel_case_types warnings
This commit is contained in:
parent
ecdc008fb1
commit
5f7e831d27
1 changed files with 1 additions and 0 deletions
|
@ -1924,6 +1924,7 @@ fn mk_resource(
|
||||||
let path = if let Some(module) = module {
|
let path = if let Some(module) = module {
|
||||||
let doc = format!("`{}`", ty);
|
let doc = format!("`{}`", ty);
|
||||||
module.push(quote!(
|
module.push(quote!(
|
||||||
|
#[allow(non_camel_case_types)]
|
||||||
#[doc = #doc]
|
#[doc = #doc]
|
||||||
#(#cfgs)*
|
#(#cfgs)*
|
||||||
pub struct #struct_<'a> {
|
pub struct #struct_<'a> {
|
||||||
|
|
Loading…
Reference in a new issue