Remove dbg!

This commit is contained in:
Edwin Cheng 2019-11-04 01:47:59 +08:00
parent d560219d06
commit 67226ebc82
2 changed files with 0 additions and 5 deletions

View file

@ -145,17 +145,13 @@ impl ExpansionInfo {
(arg_file_id, def_file_id): (HirFileId, HirFileId),
) -> Option<(HirFileId, TextRange)> {
for (src, dest) in &self.arg_map {
dbg!((src, *dest, "arg_map"));
if src.is_subrange(&from) {
dbg!((arg_file_id, *dest));
return Some((arg_file_id, *dest));
}
}
for (src, dest) in &self.def_map {
dbg!((src, *dest, "def_map"));
if src.is_subrange(&from) {
dbg!((arg_file_id, *dest));
return Some((def_file_id, *dest));
}
}

View file

@ -158,7 +158,6 @@ impl ExpandedRangeMap {
}
pub fn ranges(&self, to: &TokenMap, start: TextUnit) -> Vec<(TextRange, TextRange)> {
dbg!(&self.ranges);
self.ranges
.iter()
.filter_map(|(r, tid)| {