Skip to content

Commit

Permalink
Rollup merge of #82017 - eltociear:patch-8, r=jyn514
Browse files Browse the repository at this point in the history
Fix typo in mod.rs

insted -> instead
  • Loading branch information
JohnTitor authored Feb 12, 2021
2 parents 095b76c + c8eeb34 commit ff8b7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/hir/map/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl<'hir> Map<'hir> {
let owner = self.tcx.hir_owner_nodes(id.owner);
owner.and_then(|owner| {
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.
// Alternatively, rewrite code using `Entry` to use `ParentedNode`.
node.map(|node| Entry {
Expand Down

0 comments on commit ff8b7f2

Please sign in to comment.