From 69ed026f7ea8c5df73c99314379c40f0b79012e0 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 1 Dec 2024 11:06:12 +0100 Subject: [PATCH] Fix link to `FormatRenderer` method --- src/librustdoc/html/render/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs index b1da39b6b95f9..40468aef4db33 100644 --- a/src/librustdoc/html/render/context.rs +++ b/src/librustdoc/html/render/context.rs @@ -67,7 +67,7 @@ pub(crate) struct Context<'tcx> { } /// This struct contains the information that needs to be reset between each -/// [`FormatRenderer::render_item`] call. +/// [`FormatRenderer::item`] call. /// /// When we enter a new module, we set these values for the whole module but they might be updated /// in each child item (especially if it's a module). So to prevent these changes to impact other