Skip to content

Commit bd6eb05

Browse files
committed
Update top-level rustc_middle comment.
- Mention THIR. - Removed mentions of non-existent READMEs.
1 parent 0be280e commit bd6eb05

File tree

1 file changed

+3
-2
lines changed
  • compiler/rustc_middle/src

1 file changed

+3
-2
lines changed

compiler/rustc_middle/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
//! The "main crate" of the Rust compiler. This crate contains common
22
//! type definitions that are used by the other crates in the rustc
3-
//! "family". Some prominent examples (note that each of these modules
4-
//! has their own README with further details).
3+
//! "family". The following are some prominent examples.
54
//!
65
//! - **HIR.** The "high-level (H) intermediate representation (IR)" is
76
//! defined in the [`hir`] module.
7+
//! - **THIR.** The "typed high-level (H) intermediate representation (IR)"
8+
//! is defined in the [`thir`] module.
89
//! - **MIR.** The "mid-level (M) intermediate representation (IR)" is
910
//! defined in the [`mir`] module. This module contains only the
1011
//! *definition* of the MIR; the passes that transform and operate

0 commit comments

Comments
 (0)