Rollup merge of #82017 - eltociear:patch-8, r=jyn514
Fix typo in mod.rs insted -> instead
This commit is contained in:
commit
ff8b7f20d9
@ -285,7 +285,7 @@ fn find_entry(&self, id: HirId) -> Option<Entry<'hir>> {
|
|||||||
let owner = self.tcx.hir_owner_nodes(id.owner);
|
let owner = self.tcx.hir_owner_nodes(id.owner);
|
||||||
owner.and_then(|owner| {
|
owner.and_then(|owner| {
|
||||||
let node = owner.nodes[id.local_id].as_ref();
|
let node = owner.nodes[id.local_id].as_ref();
|
||||||
// FIXME(eddyb) use a single generic type insted of having both
|
// FIXME(eddyb) use a single generic type instead of having both
|
||||||
// `Entry` and `ParentedNode`, which are effectively the same.
|
// `Entry` and `ParentedNode`, which are effectively the same.
|
||||||
// Alternatively, rewrite code using `Entry` to use `ParentedNode`.
|
// Alternatively, rewrite code using `Entry` to use `ParentedNode`.
|
||||||
node.map(|node| Entry {
|
node.map(|node| Entry {
|
||||||
|
Loading…
Reference in New Issue
Block a user