Skip to content

Commit 9d58a93

Browse files
authored
Merge pull request #20439 from A4-Tacks/t-macro-bracket-doc
Add guess braces doc `T![]` for `T_`
2 parents 14cc41f + 883c5fc commit 9d58a93

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/parser/src/syntax_kind/generated.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ impl SyntaxKind {
10051005
Some(tok)
10061006
}
10071007
}
1008+
#[doc = r" `T![]`"]
10081009
#[macro_export]
10091010
macro_rules ! T_ {
10101011
[$] => { $ crate :: SyntaxKind :: DOLLAR };

xtask/src/codegen/grammar.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ fn generate_syntax_kinds(grammar: KindsSrc) -> String {
659659
}
660660
}
661661

662+
/// `T![]`
662663
#[macro_export]
663664
macro_rules! T_ {
664665
#([#punctuation_values] => { $crate::SyntaxKind::#punctuation };)*

0 commit comments

Comments
 (0)