fix non_camel_case_types warnings

This commit is contained in:
Jorge Aparicio 2019-02-13 15:37:24 +01:00
parent ecdc008fb1
commit 5f7e831d27

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