diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index c58170d02..84e15385c 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -782,10 +782,6 @@ impl ConstData { | |||
782 | self.name.as_ref() | 782 | self.name.as_ref() |
783 | } | 783 | } |
784 | 784 | ||
785 | pub fn is_unnamed(&self) -> bool { | ||
786 | self.name.is_none() | ||
787 | } | ||
788 | |||
789 | pub fn type_ref(&self) -> &TypeRef { | 785 | pub fn type_ref(&self) -> &TypeRef { |
790 | &self.type_ref | 786 | &self.type_ref |
791 | } | 787 | } |