From a2f14600afb23bbebe83c167f30927a93d0fa195 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Mon, 24 Aug 2026 14:52:00 +0100 Subject: [PATCH] Fix broken link to lang_items.rs in unstable book The file path was changed in af4c79b260276522887dee7605e8ff24263bfc9a. Fix the link, and use a specific commit so it doesn't break accidentally future. --- src/doc/unstable-book/src/language-features/lang-items.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/unstable-book/src/language-features/lang-items.md b/src/doc/unstable-book/src/language-features/lang-items.md index deb7fbca716c3..ccc973d013e44 100644 --- a/src/doc/unstable-book/src/language-features/lang-items.md +++ b/src/doc/unstable-book/src/language-features/lang-items.md @@ -112,4 +112,4 @@ return a valid pointer, and so needs to do the check internally. An up-to-date list of all language items can be found [here] in the compiler code. -[here]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_hir/src/lang_items.rs +[here]: https://github.com/rust-lang/rust/blob/ac62df9b49f9b9036af2a4957db70bf3850785e1/compiler/rustc_attr_ir/src/lang_items.rs#L158