aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-11-03 17:47:59 +0000
committerEdwin Cheng <[email protected]>2019-11-04 17:38:20 +0000
commit67226ebc8288b9489867ea2454f9d976b65ff15e (patch)
treef8fec99e50eed3a2649825efc57e4df0d341a86e /crates/ra_hir_expand
parentd560219d06780ea4bd3cca20e1d3883f2d68d59a (diff)
Remove dbg!
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r--crates/ra_hir_expand/src/lib.rs4
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 }