diff options
author | Jonas Schievink <[email protected]> | 2020-06-10 10:52:00 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-06-10 11:38:58 +0100 |
commit | bcf875f46ae5142c42ddac8094e1b6652182d4be (patch) | |
tree | 39bd0c4ffe2386efbbb75a4e3c7e23d732144de1 /crates/ra_hir_expand | |
parent | 781b514e5886cbaff88483cdeddc504effef299c (diff) |
Clean up import_map.rs
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r-- | crates/ra_hir_expand/src/name.rs | 7 |
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 | ||
79 | pub trait AsName { | 72 | pub trait AsName { |