1
Fork 0

Fix typo in mod.rs

insted -> instead
This commit is contained in:
Ikko Ashimine 2021-02-12 13:47:21 +09:00 committed by GitHub
parent e9920ef774
commit c8eeb340bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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