Generate documentation for Tag consts

This commit is contained in:
sharnoff 2021-12-11 09:45:49 -08:00 committed by KAMADA Ken'ichi
parent 86eaa73be0
commit 6db71de2fc
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ macro_rules! generate_well_known_tag_constants {
impl Tag {
$($(
$( #[$attr] )*
#[doc = $desc]
#[allow(non_upper_case_globals)]
pub const $name: Tag = Tag($ctx, $num);
)+)+