mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
assume valid identifier
This commit is contained in:
parent
ee1d6cffbf
commit
53be26df50
1 changed files with 1 additions and 5 deletions
|
@ -81,11 +81,7 @@ pub(crate) fn goto_type_definition(
|
|||
}
|
||||
});
|
||||
});
|
||||
if res.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(RangeInfo::new(range, res))
|
||||
}
|
||||
Some(RangeInfo::new(range, res))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Reference in a new issue