diff options
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r-- | crates/ra_hir_expand/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir_expand/src/lib.rs b/crates/ra_hir_expand/src/lib.rs index 180cd1f57..b6e55aa6a 100644 --- a/crates/ra_hir_expand/src/lib.rs +++ b/crates/ra_hir_expand/src/lib.rs | |||
@@ -145,17 +145,13 @@ impl ExpansionInfo { | |||
145 | (arg_file_id, def_file_id): (HirFileId, HirFileId), | 145 | (arg_file_id, def_file_id): (HirFileId, HirFileId), |
146 | ) -> Option<(HirFileId, TextRange)> { | 146 | ) -> Option<(HirFileId, TextRange)> { |
147 | for (src, dest) in &self.arg_map { | 147 | for (src, dest) in &self.arg_map { |
148 | dbg!((src, *dest, "arg_map")); | ||
149 | if src.is_subrange(&from) { | 148 | if src.is_subrange(&from) { |
150 | dbg!((arg_file_id, *dest)); | ||
151 | return Some((arg_file_id, *dest)); | 149 | return Some((arg_file_id, *dest)); |
152 | } | 150 | } |
153 | } | 151 | } |
154 | 152 | ||
155 | for (src, dest) in &self.def_map { | 153 | for (src, dest) in &self.def_map { |
156 | dbg!((src, *dest, "def_map")); | ||
157 | if src.is_subrange(&from) { | 154 | if src.is_subrange(&from) { |
158 | dbg!((arg_file_id, *dest)); | ||
159 | return Some((def_file_id, *dest)); | 155 | return Some((def_file_id, *dest)); |
160 | } | 156 | } |
161 | } | 157 | } |