diff options
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r-- | crates/ra_hir_def/src/adt.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ra_hir_def/src/adt.rs b/crates/ra_hir_def/src/adt.rs index 4582c7314..985f409e8 100644 --- a/crates/ra_hir_def/src/adt.rs +++ b/crates/ra_hir_def/src/adt.rs | |||
@@ -147,12 +147,6 @@ impl VariantData { | |||
147 | VariantData::Unit => StructKind::Unit, | 147 | VariantData::Unit => StructKind::Unit, |
148 | } | 148 | } |
149 | } | 149 | } |
150 | pub fn is_unit(&self) -> bool { | ||
151 | match self { | ||
152 | VariantData::Unit => true, | ||
153 | _ => false, | ||
154 | } | ||
155 | } | ||
156 | } | 150 | } |
157 | 151 | ||
158 | impl HasChildSource for VariantId { | 152 | impl HasChildSource for VariantId { |