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:
bors[bot] 2019-02-13 14:38:20 +00:00
commit 87c69b68af

View file

@ -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> {