aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-18 16:52:52 +0000
committerAleksey Kladov <[email protected]>2019-12-18 16:52:52 +0000
commitafdeacf3c126b3e19bd1e50a912fee2b3f2d4aa9 (patch)
tree6e0df109f2af60ee3cbf3dea13938e72e1ce1e69 /crates/ra_hir_def/src
parentd33fc26e05c573f536e02afbffc354fa4f4a35f3 (diff)
Remove dead code
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/path.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs
index 3fb0955d1..7302cf0f1 100644
--- a/crates/ra_hir_def/src/path.rs
+++ b/crates/ra_hir_def/src/path.rs
@@ -130,11 +130,6 @@ impl Path {
130 Path { type_anchor: None, mod_path: name_ref.as_name().into(), generic_args: vec![None] } 130 Path { type_anchor: None, mod_path: name_ref.as_name().into(), generic_args: vec![None] }
131 } 131 }
132 132
133 /// `true` if this path is just a standalone `self`
134 pub fn is_self(&self) -> bool {
135 self.mod_path.is_self()
136 }
137
138 pub fn kind(&self) -> &PathKind { 133 pub fn kind(&self) -> &PathKind {
139 &self.mod_path.kind 134 &self.mod_path.kind
140 } 135 }