Update find_entry
This commit is contained in:
parent
21942a5cf6
commit
61527c8d8c
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ impl<'hir> Map<'hir> {
|
|||
}
|
||||
|
||||
fn find_entry(&self, id: HirId) -> Option<Entry<'hir>> {
|
||||
self.lookup(id).cloned()
|
||||
Some(self.get_entry(id))
|
||||
}
|
||||
|
||||
fn get_entry(&self, id: HirId) -> Entry<'hir> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue