diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 16:56:53 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 16:56:53 +0100 |
commit | 1766aae145c6925a33e427f2fe6ef2a56c301665 (patch) | |
tree | dfcf22990794a5990602a468b862d544fbe63f0a /crates/ra_hir/src/semantics | |
parent | 609680ef97dbf82c07b6b06e21aa366423892304 (diff) |
Rename EnumVariant -> Variant
Diffstat (limited to 'crates/ra_hir/src/semantics')
-rw-r--r-- | crates/ra_hir/src/semantics/source_to_def.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/semantics/source_to_def.rs b/crates/ra_hir/src/semantics/source_to_def.rs index 9f81b952f..b85a12680 100644 --- a/crates/ra_hir/src/semantics/source_to_def.rs +++ b/crates/ra_hir/src/semantics/source_to_def.rs | |||
@@ -100,9 +100,9 @@ impl SourceToDefCtx<'_, '_> { | |||
100 | } | 100 | } |
101 | pub(super) fn enum_variant_to_def( | 101 | pub(super) fn enum_variant_to_def( |
102 | &mut self, | 102 | &mut self, |
103 | src: InFile<ast::EnumVariant>, | 103 | src: InFile<ast::Variant>, |
104 | ) -> Option<EnumVariantId> { | 104 | ) -> Option<EnumVariantId> { |
105 | self.to_def(src, keys::ENUM_VARIANT) | 105 | self.to_def(src, keys::VARIANT) |
106 | } | 106 | } |
107 | pub(super) fn bind_pat_to_def( | 107 | pub(super) fn bind_pat_to_def( |
108 | &mut self, | 108 | &mut self, |