Hide generated dummy const in rustdoc

This commit is contained in:
robo9k 2020-04-03 22:21:38 +02:00
parent 2a9971a69d
commit a135199ab1

View File

@ -29,6 +29,7 @@ pub fn wrap_in_const(
};
quote! {
#[doc(hidden)]
#[allow(non_upper_case_globals, unused_attributes, unused_qualifications)]
const #dummy_const: () = {
#use_serde