Skip to content

Commit 9f8b1ca

Browse files
committed
Add intra-doc-links to rustc_middle crate-level docs.
1 parent 0e682e9 commit 9f8b1ca

File tree

1 file changed

+6
-5
lines changed
  • compiler/rustc_middle/src

1 file changed

+6
-5
lines changed

compiler/rustc_middle/src/lib.rs

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
//! has their own README with further details).
55
//!
66
//! - **HIR.** The "high-level (H) intermediate representation (IR)" is
7-
//! defined in the `hir` module.
7+
//! defined in the [`hir`] module.
88
//! - **MIR.** The "mid-level (M) intermediate representation (IR)" is
9-
//! defined in the `mir` module. This module contains only the
9+
//! defined in the [`mir`] module. This module contains only the
1010
//! *definition* of the MIR; the passes that transform and operate
1111
//! on MIR are found in `rustc_const_eval` crate.
1212
//! - **Types.** The internal representation of types used in rustc is
13-
//! defined in the `ty` module. This includes the **type context**
14-
//! (or `tcx`), which is the central context during most of
15-
//! compilation, containing the interners and other things.
13+
//! defined in the [`ty`] module. This includes the
14+
//! [**type context**][ty::TyCtxt] (or `tcx`), which is the central
15+
//! context during most of compilation, containing the interners and
16+
//! other things.
1617
//!
1718
//! For more information about how rustc works, see the [rustc dev guide].
1819
//!

0 commit comments

Comments
 (0)