From 6c8fdf971cb226a14491dba974ec50812a52e983 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Mon, 7 Jan 2019 10:04:30 +0100 Subject: [PATCH] Remove access level mention from DocContext Leftover from https://github.com/rust-lang/rust/commit/c754e8240cfbeeaca1672c349eccba3d050f866c. --- src/librustdoc/core.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 78dbf41bf21..6c3a973a414 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -51,9 +51,6 @@ pub struct DocContext<'a, 'tcx: 'a, 'rcx: 'a> { /// The stack of module NodeIds up till this point pub crate_name: Option, pub cstore: Rc, - // Note that external items for which `doc(hidden)` applies to are shown as - // non-reachable while local items aren't. This is because we're reusing - // the access levels from crateanalysis. /// Later on moved into `html::render::CACHE_KEY` pub renderinfo: RefCell, /// Later on moved through `clean::Crate` into `html::render::CACHE_KEY`