Skip to content

Commit a135199

Browse files
committed
Hide generated dummy const in rustdoc
1 parent 2a9971a commit a135199

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎serde_derive/src/dummy.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ pub fn wrap_in_const(
2929
};
3030

3131
quote! {
32+
#[doc(hidden)]
3233
#[allow(non_upper_case_globals, unused_attributes, unused_qualifications)]
3334
const #dummy_const: () = {
3435
#use_serde

0 commit comments

Comments
 (0)