about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-02-12 13:47:21 +0900
committerGitHub <noreply@github.com>2021-02-12 13:47:21 +0900
commitc8eeb340bc92baa42daae2dd661565df8aa50a32 (patch)
tree66aa3fbacbf3bf6814a294efb47cf0cf0e947a2b
parente9920ef7749d11fc71cc32ca4ba055bcfeaab945 (diff)
downloadrust-c8eeb340bc92baa42daae2dd661565df8aa50a32.tar.gz
rust-c8eeb340bc92baa42daae2dd661565df8aa50a32.zip
Fix typo in mod.rs
insted -> instead
-rw-r--r--compiler/rustc_middle/src/hir/map/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/hir/map/mod.rs b/compiler/rustc_middle/src/hir/map/mod.rs
index ee12c0e786d..251f8c0afe6 100644
--- a/compiler/rustc_middle/src/hir/map/mod.rs
+++ b/compiler/rustc_middle/src/hir/map/mod.rs
@@ -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 {