mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +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 doc = format!("`{}`", ty);
|
||||
module.push(quote!(
|
||||
#[allow(non_camel_case_types)]
|
||||
#[doc = #doc]
|
||||
#(#cfgs)*
|
||||
pub struct #struct_<'a> {
|
||||
|
|
Loading…
Reference in a new issue