From ac12a8bfc23778641ca74d045e434b3e6a7f1ffd Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 15 Nov 2023 11:39:57 -0800 Subject: [PATCH] Always display queue notes in doc comment --- riven/srcgen/consts/queue.rs.dt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/riven/srcgen/consts/queue.rs.dt b/riven/srcgen/consts/queue.rs.dt index 3922b66..585111d 100644 --- a/riven/srcgen/consts/queue.rs.dt +++ b/riven/srcgen/consts/queue.rs.dt @@ -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'] }},