about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-21 17:57:58 -0400
committerGitHub <noreply@github.com>2025-08-21 17:57:58 -0400
commit7d2993daf3866947877e285d99235a00332a4e99 (patch)
treefd4b586c55cb9c9d40c84180d4ece8c70110963e
parent03fbcdb8ee7422cb28bf6c99e43669f9e385133f (diff)
parent9bcaa935840b05aeb554807612a75550cf9c76cc (diff)
downloadrust-7d2993daf3866947877e285d99235a00332a4e99.tar.gz
rust-7d2993daf3866947877e285d99235a00332a4e99.zip
Rollup merge of #145712 - notJoon:fix/outdate-link, r=lqd
Update outdated link in bound region comments

While reading the implementation code for bound regions, I found that a link in the comments was outdated. I've updated it with a link to the corresponding documentation in the rustc dev guide that covers the same content.

prev link: https://rustc-dev-guide.rust-lang.org/early-late-bound-params/early-late-bound-summary.html (404 error)
updated: https://rustc-dev-guide.rust-lang.org/early_late_parameters.html
-rw-r--r--compiler/rustc_type_ir/src/region_kind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_type_ir/src/region_kind.rs b/compiler/rustc_type_ir/src/region_kind.rs
index cca81dcb4a0..06048af0436 100644
--- a/compiler/rustc_type_ir/src/region_kind.rs
+++ b/compiler/rustc_type_ir/src/region_kind.rs
@@ -154,7 +154,7 @@ pub enum RegionKind<I: Interner> {
     /// parameters via `tcx.liberate_late_bound_regions`. They are then treated
     /// the same way as `ReEarlyParam` while inside of the function.
     ///
-    /// See <https://rustc-dev-guide.rust-lang.org/early-late-bound-params/early-late-bound-summary.html> for
+    /// See <https://rustc-dev-guide.rust-lang.org/early_late_parameters.html> for
     /// more info about early and late bound lifetime parameters.
     ReLateParam(I::LateParamRegion),