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 }}
/// {{= line }}
{{~}}
{{? e['x-deprecated'] }}
{{? e.notes }}
///
/// {{= e.notes }}
{{?}}
{{? e['x-deprecated'] }}
#[deprecated(note="{{= e.notes }}")]
{{?}}
{{= e['x-name'] }} = {{= e['x-value'] }},