mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Make vis
matcher optional and fix typo
This commit is contained in:
parent
b0e7022afe
commit
35c4633150
3 changed files with 28 additions and 5 deletions
|
@ -319,7 +319,7 @@ fn convert_ident(ident: &tt::Ident) -> TtToken {
|
|||
|
||||
fn convert_punct(p: &tt::Punct) -> TtToken {
|
||||
let kind = match p.char {
|
||||
// lexer may produce combpund tokens for these ones
|
||||
// lexer may produce compound tokens for these ones
|
||||
'.' => DOT,
|
||||
':' => COLON,
|
||||
'=' => EQ,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue