Skip to content

Commit f16a372

Browse files
mwilliammyersKodrAus
authored andcommitted
Add allow(missing_docs) attribute
The code generated for mapping_definitions was causing linting issues when using the ElasticType derive attribute.
1 parent df3f820 commit f16a372

File tree

1 file changed

+1
-0
lines changed
  • src/types_derive_internals/src/elastic_type

1 file changed

+1
-0
lines changed

src/types_derive_internals/src/elastic_type/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub fn expand_derive(
6464
let mapping_impl_block = &mapping.impl_block;
6565

6666
Ok(vec![quote!(
67+
#[allow(missing_docs)]
6768
#mapping_definition
6869

6970
#[allow(non_upper_case_globals, dead_code, unused_variables)]

0 commit comments

Comments
 (0)