about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-08-28 20:38:05 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-10-02 15:57:57 -0700
commit82b52e1951622062ce26a185dca58a8b472b4ec8 (patch)
tree936fd9c07cc33869ae5f70775c61c49bfc1a102f
parente4ce68baa841af3077fa3ef82fac0a33f0e61d20 (diff)
downloadrust-82b52e1951622062ce26a185dca58a8b472b4ec8.tar.gz
rust-82b52e1951622062ce26a185dca58a8b472b4ec8.zip
Remove outdated comment
`CACHE_KEY` no longer exists.
-rw-r--r--src/librustdoc/clean/types.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index 3373cee9172..9b74d130941 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -120,8 +120,7 @@ crate struct Crate {
     crate module: Item,
     crate externs: Vec<ExternalCrate>,
     crate primitives: ThinVec<(DefId, PrimitiveType)>,
-    // These are later on moved into `CACHEKEY`, leaving the map empty.
-    // Only here so that they can be filtered through the rustdoc passes.
+    /// Only here so that they can be filtered through the rustdoc passes.
     crate external_traits: Rc<RefCell<FxHashMap<DefId, TraitWithExtraInfo>>>,
     crate collapsed: bool,
 }