diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
commit | c1a7b72fb7c9b69779e490e1d692ddfccec8b57a (patch) | |
tree | 362f9ac863989fbea465b9cb3bdb9bc40497f8f4 /crates/libanalysis | |
parent | 9149fd2c0ca3d23719082852a2cddd8ba5804ce6 (diff) |
renames
Diffstat (limited to 'crates/libanalysis')
-rw-r--r-- | crates/libanalysis/src/symbol_index.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libanalysis/src/symbol_index.rs b/crates/libanalysis/src/symbol_index.rs index a7ae197e0..35141cfdc 100644 --- a/crates/libanalysis/src/symbol_index.rs +++ b/crates/libanalysis/src/symbol_index.rs | |||
@@ -68,7 +68,7 @@ impl Query { | |||
68 | ) -> Vec<&'a FileSymbol> { | 68 | ) -> Vec<&'a FileSymbol> { |
69 | fn is_type(kind: SyntaxKind) -> bool { | 69 | fn is_type(kind: SyntaxKind) -> bool { |
70 | match kind { | 70 | match kind { |
71 | STRUCT | ENUM | TRAIT | TYPE_ITEM => true, | 71 | STRUCT_DEF | ENUM_DEF | TRAIT_DEF | TYPE_DEF => true, |
72 | _ => false, | 72 | _ => false, |
73 | } | 73 | } |
74 | } | 74 | } |