Fix a comment for the def_path_table.

The definition path table contains *all* definitions, not just public
definitions.
This commit is contained in:
Edd Barrett 2019-08-16 10:14:15 +01:00
parent f7af19c279
commit 170acedbd0

View File

@ -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