mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Merge #145
145: fix non_camel_case_types warnings r=japaric a=japaric closes #144 Co-authored-by: Jorge Aparicio <jorge@japaric.io>
This commit is contained in:
commit
87c69b68af
1 changed files with 1 additions and 0 deletions
|
@ -1924,6 +1924,7 @@ fn mk_resource(
|
|||
let path = if let Some(module) = module {
|
||||
let doc = format!("`{}`", ty);
|
||||
module.push(quote!(
|
||||
#[allow(non_camel_case_types)]
|
||||
#[doc = #doc]
|
||||
#(#cfgs)*
|
||||
pub struct #struct_<'a> {
|
||||
|
|
Loading…
Reference in a new issue