From cc0d53146363a4741530f16821efc308550a5021 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 24 Feb 2021 10:16:33 +0100 Subject: [PATCH] Make DocContext &mut for clean --- src/librustdoc/clean/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs index 202449748c4..e898727d463 100644 --- a/src/librustdoc/clean/types.rs +++ b/src/librustdoc/clean/types.rs @@ -155,7 +155,7 @@ impl Item { name: Option, kind: ItemKind, attrs: Box, - cx: &DocContext<'_>, + cx: &mut DocContext<'_>, ) -> Item { debug!("name={:?}, def_id={:?}", name, def_id);