about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-01-26 09:11:52 -0500
committerNiko Matsakis <niko@alum.mit.edu>2018-01-26 09:12:15 -0500
commitfad5a887a96ae2c942f81ee49098657cbec8f77f (patch)
tree86ffea0666e72c637e1c20fd9053721467bf66bb
parent68a4ac0ce4b19bf3ec87fa97f5e08bc4867d39b8 (diff)
downloadrust-fad5a887a96ae2c942f81ee49098657cbec8f77f.tar.gz
rust-fad5a887a96ae2c942f81ee49098657cbec8f77f.zip
rename the hir chapter to The HIR
-rw-r--r--src/doc/rustc-dev-guide/src/SUMMARY.md2
-rw-r--r--src/doc/rustc-dev-guide/src/hir.md (renamed from src/doc/rustc-dev-guide/src/hir-lowering.md)4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/SUMMARY.md b/src/doc/rustc-dev-guide/src/SUMMARY.md
index f8b1f1d6e0c..2e3b34386b8 100644
--- a/src/doc/rustc-dev-guide/src/SUMMARY.md
+++ b/src/doc/rustc-dev-guide/src/SUMMARY.md
@@ -8,7 +8,7 @@
 - [The parser](./the-parser.md)
 - [Macro expansion](./macro-expansion.md)
 - [Name resolution](./name-resolution.md)
-- [HIR lowering](./hir-lowering.md)
+- [The HIR (High-level IR)](./hir.md)
 - [The `ty` module: representing types](./ty.md)
 - [Type inference](./type-inference.md)
 - [Trait resolution](./trait-resolution.md)
diff --git a/src/doc/rustc-dev-guide/src/hir-lowering.md b/src/doc/rustc-dev-guide/src/hir.md
index e28bb4cd40f..5d5e273c479 100644
--- a/src/doc/rustc-dev-guide/src/hir-lowering.md
+++ b/src/doc/rustc-dev-guide/src/hir.md
@@ -1,4 +1,4 @@
-# HIR lowering
+# The HIR
 
 The HIR -- "High-level IR" -- is the primary IR used in most of
 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
 (e.g., a `fn()` or `const`), but could also be a closure expression
 (e.g., `|x, y| x + y`). You can use the HIR map to find the body
 associated with a given def-id (`maybe_body_owned_by()`) or to find
-the owner of a body (`body_owner_def_id()`).
\ No newline at end of file
+the owner of a body (`body_owner_def_id()`).