mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
assume valid identifier
This commit is contained in:
parent
ee1d6cffbf
commit
53be26df50
@ -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 New Issue
Block a user