mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Fix typo: comparision -> comparison
This commit is contained in:
parent
3f1a220f32
commit
1c75d8975c
4 changed files with 5 additions and 5 deletions
|
@ -49,7 +49,7 @@ define_semantic_token_types![
|
|||
(CHAR_LITERAL, "characterLiteral"),
|
||||
(COLON, "colon"),
|
||||
(COMMA, "comma"),
|
||||
(COMPARISION, "comparision"),
|
||||
(COMPARISON, "comparison"),
|
||||
(CONST_PARAMETER, "constParameter"),
|
||||
(DOT, "dot"),
|
||||
(ESCAPE_SEQUENCE, "escapeSequence"),
|
||||
|
|
|
@ -469,7 +469,7 @@ fn semantic_token_type_and_modifiers(
|
|||
HlOperator::Bitwise => semantic_tokens::BITWISE,
|
||||
HlOperator::Arithmetic => semantic_tokens::ARITHMETIC,
|
||||
HlOperator::Logical => semantic_tokens::LOGICAL,
|
||||
HlOperator::Comparision => semantic_tokens::COMPARISION,
|
||||
HlOperator::Comparison => semantic_tokens::COMPARISON,
|
||||
HlOperator::Other => semantic_tokens::OPERATOR,
|
||||
},
|
||||
HlTag::StringLiteral => lsp_types::SemanticTokenType::STRING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue