aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorDylan MacKenzie <[email protected]>2019-09-16 07:08:32 +0100
committerDylan MacKenzie <[email protected]>2019-09-16 07:08:32 +0100
commitcd8155b7f73006ee7dae8b423557f25fd92912df (patch)
treedd87d2b240d84fe76fe585442fea1812d0d148dd /crates
parentbeac779c9661d2aa33fd0758d492b9e8e70b8dcd (diff)
Remove `is_unnamed`
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/code_model.rs4
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 }