Always display queue notes in doc comment

This commit is contained in:
Mingwei Samuel 2023-11-15 11:39:57 -08:00
parent 09f0f2562b
commit ac12a8bfc2

View file

@ -14,8 +14,11 @@ newtype_enum! {
{{~ desc :line }} {{~ desc :line }}
/// {{= line }} /// {{= line }}
{{~}} {{~}}
{{? e['x-deprecated'] }} {{? e.notes }}
///
/// {{= e.notes }} /// {{= e.notes }}
{{?}}
{{? e['x-deprecated'] }}
#[deprecated(note="{{= e.notes }}")] #[deprecated(note="{{= e.notes }}")]
{{?}} {{?}}
{{= e['x-name'] }} = {{= e['x-value'] }}, {{= e['x-name'] }} = {{= e['x-value'] }},