Hide generated dummy const in rustdoc
This commit is contained in:
parent
2a9971a69d
commit
a135199ab1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user