Rename StructDef -> Struct

This commit is contained in:
Aleksey Kladov
2020-07-30 17:50:40 +02:00
parent 1ae4721c9c
commit 216a5344c8
63 changed files with 163 additions and 163 deletions

View File

@@ -705,7 +705,7 @@ fn highlight_name_by_syntax(name: ast::Name) -> Highlight {
};
let tag = match parent.kind() {
STRUCT_DEF => HighlightTag::Struct,
STRUCT => HighlightTag::Struct,
ENUM_DEF => HighlightTag::Enum,
UNION => HighlightTag::Union,
TRAIT_DEF => HighlightTag::Trait,