From f0bae6726f3b68ec80cabcb3fa66e460b715eb0b Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Tue, 18 Aug 2020 15:23:45 +0200 Subject: [PATCH] Typo --- src/librustc_middle/query/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_middle/query/mod.rs b/src/librustc_middle/query/mod.rs index 15d267e4b1eb..7a6e4a90683f 100644 --- a/src/librustc_middle/query/mod.rs +++ b/src/librustc_middle/query/mod.rs @@ -281,7 +281,7 @@ rustc_queries! { cache_on_disk_if { key.is_local() } } - /// The `DefId` is the `DefId` of the containing MIR body. Promoteds to not have their own + /// The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own /// `DefId`. This function returns all promoteds in the specified body. The body references /// promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because /// after inlining a body may refer to promoteds from other bodies. In that case you still