about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Matuszewski <Xanewok@gmail.com>2019-01-07 10:04:30 +0100
committerIgor Matuszewski <Xanewok@gmail.com>2019-01-17 10:37:31 +0100
commit6c8fdf971cb226a14491dba974ec50812a52e983 (patch)
treed7b89fa55b94e7f5bb0a65554cf0c5cd9e7ec02c
parent722b4d695964906807b12379577bce5ee3d23e08 (diff)
downloadrust-6c8fdf971cb226a14491dba974ec50812a52e983.tar.gz
rust-6c8fdf971cb226a14491dba974ec50812a52e983.zip
Remove access level mention from DocContext
Leftover from https://github.com/rust-lang/rust/commit/c754e8240cfbeeaca1672c349eccba3d050f866c.
-rw-r--r--src/librustdoc/core.rs3
1 files changed, 0 insertions, 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<String>,
     pub cstore: Rc<CStore>,
-    // 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<RenderInfo>,
     /// Later on moved through `clean::Crate` into `html::render::CACHE_KEY`