aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/local_resources_struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/codegen/local_resources_struct.rs')
-rw-r--r--macros/src/codegen/local_resources_struct.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/src/codegen/local_resources_struct.rs b/macros/src/codegen/local_resources_struct.rs
index e268508b..100c3eb5 100644
--- a/macros/src/codegen/local_resources_struct.rs
+++ b/macros/src/codegen/local_resources_struct.rs
@@ -50,6 +50,7 @@ pub fn codegen(ctxt: Context, app: &App) -> (TokenStream2, TokenStream2) {
fields.push(quote!(
#(#cfgs)*
+ #[allow(missing_docs)]
pub #name: &#lt mut #ty
));
@@ -88,6 +89,7 @@ pub fn codegen(ctxt: Context, app: &App) -> (TokenStream2, TokenStream2) {
let constructor = quote!(
impl<'a> #ident<'a> {
#[inline(always)]
+ #[allow(missing_docs)]
pub unsafe fn new() -> Self {
#ident {
#(#values,)*