about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2019-08-16 10:14:15 +0100
committerEdd Barrett <vext01@gmail.com>2019-08-16 10:14:15 +0100
commit170acedbd0ef6227dc486336ea1fd5e53581e5bd (patch)
treeb91fc54ec674ca3954485c9212a340153d07d278 /src
parentf7af19c279b8b7ea3d2c21fcbd67164af8d5d968 (diff)
downloadrust-170acedbd0ef6227dc486336ea1fd5e53581e5bd.tar.gz
rust-170acedbd0ef6227dc486336ea1fd5e53581e5bd.zip
Fix a comment for the def_path_table.
The definition path table contains *all* definitions, not just public
definitions.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_metadata/cstore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_metadata/cstore.rs b/src/librustc_metadata/cstore.rs
index 5d8fabc7e69..4ac0a5b94c0 100644
--- a/src/librustc_metadata/cstore.rs
+++ b/src/librustc_metadata/cstore.rs
@@ -70,7 +70,7 @@ pub struct CrateMetadata {
     // whichever `TyCtxt` is being used to decode those values.
     pub root: schema::CrateRoot<'static>,
 
-    /// For each public item in this crate, we encode a key. When the
+    /// For each definition in this crate, we encode a key. When the
     /// crate is loaded, we read all the keys and put them in this
     /// hashmap, which gives the reverse mapping. This allows us to
     /// quickly retrace a `DefPath`, which is needed for incremental