From 6aaca04df4833f5f3eecd275d6ebeea114e6f6e2 Mon Sep 17 00:00:00 2001 From: maplethecolor Date: Mon, 3 Nov 2025 08:31:18 +0530 Subject: [PATCH] Fix doc link for `poll` method help Update help message for `poll` method to new link. --- compiler/rustc_hir_typeck/src/method/suggest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_hir_typeck/src/method/suggest.rs b/compiler/rustc_hir_typeck/src/method/suggest.rs index 8e9c6eb046aed..27a5b1bd8a708 100644 --- a/compiler/rustc_hir_typeck/src/method/suggest.rs +++ b/compiler/rustc_hir_typeck/src/method/suggest.rs @@ -3325,7 +3325,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { see documentation for `std::pin::Pin`" )); err.help("self type must be pinned to call `Future::poll`, \ - see https://rust-lang.github.io/async-book/04_pinning/01_chapter.html#pinning-in-practice" + see https://rust-lang.github.io/async-book/part-reference/pinning.html" ); }