mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Other delimiters
This commit is contained in:
parent
460c8bbdec
commit
548f562dda
3 changed files with 54 additions and 50 deletions
|
@ -531,6 +531,10 @@ impl Field<'_> {
|
|||
"->" => "thin_arrow",
|
||||
"'{'" => "l_curly",
|
||||
"'}'" => "r_curly",
|
||||
"'('" => "l_paren",
|
||||
"')'" => "r_paren",
|
||||
"'['" => "l_brack",
|
||||
"']'" => "r_brack",
|
||||
_ => name,
|
||||
};
|
||||
format_ident!("{}_token", name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue