diff options
| author | Paul Daniel Faria <Nashenas88@users.noreply.github.com> | 2020-05-23 16:25:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-23 16:25:53 -0400 |
| commit | c0d248e5ec8677e09d7755c2ab3fc4b6582df54f (patch) | |
| tree | c82482244333cf62c758105b628decdd3c115513 /src/doc/rustc-dev-guide | |
| parent | 89aba46138ebbf129e7cf774216693d8b56f1924 (diff) | |
Fix BodyId link typo in glossary (#709)
* Fix BodyId link typo in glossary * Fix broken link to rustc_middle's Predicate
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/appendix/glossary.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/memory.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/appendix/glossary.md b/src/doc/rustc-dev-guide/src/appendix/glossary.md index d7cf30b913c..0b4aad6583e 100644 --- a/src/doc/rustc-dev-guide/src/appendix/glossary.md +++ b/src/doc/rustc-dev-guide/src/appendix/glossary.md @@ -5,7 +5,7 @@ Term | Meaning arena/arena allocation <div id="arena"/> | An _arena_ is a large memory buffer from which other memory allocations are made. This style of allocation is called _arena allocation_. See [this chapter](../memory.md) for more info. AST <div id="ast"/> | The abstract syntax tree produced by the `rustc_ast` crate; reflects user syntax very closely. binder <div id="binder"/> | A "binder" is a place where a variable or type is declared; for example, the `<T>` is a binder for the generic type parameter `T` in `fn foo<T>(..)`, and \|`a`\|` ...` is a binder for the parameter `a`. See [the background chapter for more](./background.html#free-vs-bound). -BodyId <div id="body-id"/ | An identifier that refers to a specific body (definition of a function or constant) in the crate. See [the HIR chapter for more](../hir.html#identifiers-in-the-hir). +BodyId <div id="body-id"/> | An identifier that refers to a specific body (definition of a function or constant) in the crate. See [the HIR chapter for more](../hir.html#identifiers-in-the-hir). bound variable <div id="bound-var"/> | A "bound variable" is one that is declared within an expression/term. For example, the variable `a` is bound within the closure expression \|`a`\|` a * 2`. See [the background chapter for more](./background.html#free-vs-bound) codegen <div id="codegen"/> | The code to translate MIR into LLVM IR. codegen unit <div id="codegen-unit"/> | When we produce LLVM IR, we group the Rust code into a number of codegen units (sometimes abbreviated as CGUs). Each of these units is processed by LLVM independently from one another, enabling parallelism. They are also the unit of incremental re-use. ([see more](../backend/codegen.md)) diff --git a/src/doc/rustc-dev-guide/src/memory.md b/src/doc/rustc-dev-guide/src/memory.md index 620b7d858e9..43b3746f00e 100644 --- a/src/doc/rustc-dev-guide/src/memory.md +++ b/src/doc/rustc-dev-guide/src/memory.md @@ -50,7 +50,7 @@ allocate, and which are found in this module. Here are a few examples: [subst]: ./generic_arguments.html#subst [`TraitRef`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TraitRef.html -[`Predicate`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.Predicate.html +[`Predicate`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.Predicate.html [`ty::TyS`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyS.html |
