Skip to content

Commit ff8b7f2

Browse files
authored
Rollup merge of #82017 - eltociear:patch-8, r=jyn514
Fix typo in mod.rs insted -> instead
2 parents 095b76c + c8eeb34 commit ff8b7f2

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/hir/map

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/hir/map/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl<'hir> Map<'hir> {
285285
let owner = self.tcx.hir_owner_nodes(id.owner);
286286
owner.and_then(|owner| {
287287
let node = owner.nodes[id.local_id].as_ref();
288-
// FIXME(eddyb) use a single generic type insted of having both
288+
// FIXME(eddyb) use a single generic type instead of having both
289289
// `Entry` and `ParentedNode`, which are effectively the same.
290290
// Alternatively, rewrite code using `Entry` to use `ParentedNode`.
291291
node.map(|node| Entry {

0 commit comments

Comments
 (0)