Skip to content

Commit 458685b

Browse files
committed
rename the hir chapter to The HIR
1 parent 3b4fab4 commit 458685b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- [The parser](./the-parser.md)
99
- [Macro expansion](./macro-expansion.md)
1010
- [Name resolution](./name-resolution.md)
11-
- [HIR lowering](./hir-lowering.md)
11+
- [The HIR (High-level IR)](./hir.md)
1212
- [The `ty` module: representing types](./ty.md)
1313
- [Type inference](./type-inference.md)
1414
- [Trait resolution](./trait-resolution.md)

src/hir-lowering.md renamed to src/hir.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HIR lowering
1+
# The HIR
22

33
The HIR -- "High-level IR" -- is the primary IR used in most of
44
rustc. It is a desugared version of the "abstract syntax tree" (AST)
@@ -116,4 +116,4 @@ associated with an **owner**, which is typically some kind of item
116116
(e.g., a `fn()` or `const`), but could also be a closure expression
117117
(e.g., `|x, y| x + y`). You can use the HIR map to find the body
118118
associated with a given def-id (`maybe_body_owned_by()`) or to find
119-
the owner of a body (`body_owner_def_id()`).
119+
the owner of a body (`body_owner_def_id()`).

0 commit comments

Comments
 (0)