mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Remove dbg!
This commit is contained in:
parent
d560219d06
commit
67226ebc82
2 changed files with 0 additions and 5 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)| {
|
||||
|
|
Loading…
Reference in a new issue