aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_expand/src/name.rs')
-rw-r--r--crates/ra_hir_expand/src/name.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/ra_hir_expand/src/name.rs b/crates/ra_hir_expand/src/name.rs
index f306d9641..660bdfe33 100644
--- a/crates/ra_hir_expand/src/name.rs
+++ b/crates/ra_hir_expand/src/name.rs
@@ -67,13 +67,6 @@ impl Name {
67 _ => None, 67 _ => None,
68 } 68 }
69 } 69 }
70
71 pub fn as_text(&self) -> Option<&str> {
72 match &self.0 {
73 Repr::Text(s) => Some(s.as_str()),
74 _ => None,
75 }
76 }
77} 70}
78 71
79pub trait AsName { 72pub trait AsName {