From 8e0f4d16290eafa0624aafad0263de8f575eacb0 Mon Sep 17 00:00:00 2001 From: SarthakSingh31 <35749450+SarthakSingh31@users.noreply.github.com> Date: Wed, 26 Feb 2020 16:08:35 -0800 Subject: [PATCH] Fixed wrong variable name (#593) --- src/queries/query-evaluation-model-in-detail.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queries/query-evaluation-model-in-detail.md b/src/queries/query-evaluation-model-in-detail.md index a1fbed2e..83c12755 100644 --- a/src/queries/query-evaluation-model-in-detail.md +++ b/src/queries/query-evaluation-model-in-detail.md @@ -115,7 +115,7 @@ The `type_check_crate` query provider would look something like the following: ```rust,ignore fn type_check_crate_provider(tcx, _key: ()) { - let list_of_items = tcx.hir_map.list_of_items(); + let list_of_hir_items = tcx.hir_map.list_of_items(); for item_def_id in list_of_hir_items { tcx.type_check_item(item_def_id);