Fix typo: comparision -> comparison

This commit is contained in:
Adrian Stanciu 2021-04-19 18:44:38 +03:00
parent 3f1a220f32
commit 1c75d8975c
4 changed files with 5 additions and 5 deletions

View file

@ -222,7 +222,7 @@ pub(super) fn element(
T![>] | T![<] | T![==] | T![>=] | T![<=] | T![!=]
if element.parent().and_then(ast::BinExpr::cast).is_some() =>
{
HlTag::Operator(HlOperator::Comparision).into()
HlTag::Operator(HlOperator::Comparison).into()
}
_ if element.parent().and_then(ast::BinExpr::cast).is_some() => {
HlTag::Operator(HlOperator::Other).into()