about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-07 19:15:36 +0100
committerGitHub <noreply@github.com>2025-03-07 19:15:36 +0100
commitb772fa616538a8be21a3424dee049401e7776b7f (patch)
treeb250a1b9b419a54ec1fbb055a33a8dde4aa555f0 /src
parent282a37fa7550ad198157f0ad0d1fe56965b1da03 (diff)
parent8a981241fe86dfac2e8212638c87bbaf1ae53264 (diff)
downloadrust-b772fa616538a8be21a3424dee049401e7776b7f.tar.gz
rust-b772fa616538a8be21a3424dee049401e7776b7f.zip
Rollup merge of #138150 - nnethercote:streamline-intravisit-visit_id, r=oli-obk
Streamline HIR intravisit `visit_id` calls for items

A small clean up.
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render/span_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/span_map.rs b/src/librustdoc/html/render/span_map.rs
index 82385c1c4db..4610e092cdf 100644
--- a/src/librustdoc/html/render/span_map.rs
+++ b/src/librustdoc/html/render/span_map.rs
@@ -251,7 +251,7 @@ impl<'tcx> Visitor<'tcx> for SpanMapVisitor<'tcx> {
             // If it's a "mod foo {}", we want to look to its documentation page.
             self.extract_info_from_hir_id(id);
         }
-        intravisit::walk_mod(self, m, id);
+        intravisit::walk_mod(self, m);
     }
 
     fn visit_expr(&mut self, expr: &'tcx rustc_hir::Expr<'tcx>) {