Update find_entry

This commit is contained in:
John Kåre Alsaker 2020-02-07 19:17:48 +01:00
parent 21942a5cf6
commit 61527c8d8c

View file

@ -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> {