about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-10-03 04:54:50 +0200
committerGitHub <noreply@github.com>2024-10-03 10:54:50 +0800
commitf437db0dcd55b7f90b2ac35e624c87e8ee42282c (patch)
tree07d66b9131a82f2ffa7f4a837f1b39dedd8d3e19 /src/doc/rustc-dev-guide
parent7daa462895606324a8379ea3a337f90d4257ebc0 (diff)
downloadrust-f437db0dcd55b7f90b2ac35e624c87e8ee42282c.tar.gz
rust-f437db0dcd55b7f90b2ac35e624c87e8ee42282c.zip
fixups (#2082)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-debugging.md2
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md
index 162ea525fa8..a2a6c8085df 100644
--- a/src/doc/rustc-dev-guide/src/compiler-debugging.md
+++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md
@@ -276,7 +276,7 @@ Here are some notable ones:
 | `rustc_dump_item_bounds` | Dumps the [`item_bounds`] of an item. |
 | `rustc_dump_predicates` | Dumps the [`predicates_of`] an item. |
 | `rustc_dump_vtable` |  |
-| `rustc_hidden_type_of_opaques` | Dumps the [hidden type of all opaque types][opaq] in the crate. |
+| `rustc_hidden_type_of_opaques` | Dumps the [hidden type of each opaque types][opaq] in the crate. |
 | `rustc_layout` | [See this section](#debugging-type-layouts). |
 | `rustc_object_lifetime_default` | Dumps the [object lifetime defaults] of an item. |
 | `rustc_outlives` | Dumps implied bounds of an item. More precisely, the [`inferred_outlives_of`] an item. |
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md
index 018b176dbc3..8939269b6ab 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -534,12 +534,12 @@ Currently none of the compare modes are checked in CI for UI tests.
 ## `rustc_*` TEST attributes
 
 The compiler defines several perma-unstable `#[rustc_*]` attributes gated behind the internal feature
-`rustc_attrs` that dump extra compiler-internal information. See the analogous subsection in
+`rustc_attrs` that dump extra compiler-internal information. See the corresponding subsection in
 [compiler debugging] for more details.
 
 They can be used in tests to more precisely, legibly and easily test internal compiler state in cases
 where it would otherwise be very hard to do the same with "user-facing" Rust alone. Indeed, one could
-say that this slightly abuses the term "UI" (*user* interfacing) and turns such UI tests from black-box
+say that this slightly abuses the term "UI" (*user* interface) and turns such UI tests from black-box
 tests into white-box ones. Use them carefully and sparingly.
 
-[compiler debugging]: ../compiler-debugging.md#rustc_-attributes
+[compiler debugging]: ../compiler-debugging.md#rustc_test-attributes