From a470ee39c30ec67bc0bc1dd9b3e1973165b0d378 Mon Sep 17 00:00:00 2001 From: lolbinarycat Date: Wed, 6 Aug 2025 13:31:52 -0500 Subject: [PATCH 1/2] =?UTF-8?q?Link=20from=20"Overview=20of=20the=20compil?= =?UTF-8?q?er=20=C2=A7=20Queries"=20to=20the=20Queries=20chapter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's already a link in the other direction, so this seems fairly logical. --- src/overview.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/overview.md b/src/overview.md index 12b76828b..02ba67613 100644 --- a/src/overview.md +++ b/src/overview.md @@ -321,6 +321,10 @@ the name `'tcx`, which means that something is tied to the lifetime of the [`TyCtxt`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html +For more information about queries in the compiler, see [the queries chapter][queries]. + +[queries]: https://rustc-dev-guide.rust-lang.org/query.html + ### `ty::Ty` Types are really important in Rust, and they form the core of a lot of compiler From 8fd69840a073db5928ce5c07da3dca4ebfac36bd Mon Sep 17 00:00:00 2001 From: lolbinarycat Date: Wed, 6 Aug 2025 15:01:41 -0500 Subject: [PATCH 2/2] Make link relative an link to md not html --- src/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overview.md b/src/overview.md index 02ba67613..378d8c445 100644 --- a/src/overview.md +++ b/src/overview.md @@ -323,7 +323,7 @@ the name `'tcx`, which means that something is tied to the lifetime of the For more information about queries in the compiler, see [the queries chapter][queries]. -[queries]: https://rustc-dev-guide.rust-lang.org/query.html +[queries]: ./query.md ### `ty::Ty`