Skip to content

Commit f0bae67

Browse files
committed
Typo
1 parent acad574 commit f0bae67

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_middle/query

1 file changed

+1
-1
lines changed

src/librustc_middle/query/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ rustc_queries! {
281281
cache_on_disk_if { key.is_local() }
282282
}
283283

284-
/// The `DefId` is the `DefId` of the containing MIR body. Promoteds to not have their own
284+
/// The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own
285285
/// `DefId`. This function returns all promoteds in the specified body. The body references
286286
/// promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because
287287
/// after inlining a body may refer to promoteds from other bodies. In that case you still

0 commit comments

Comments
 (0)