mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
Fix a comment for the def_path_table.
The definition path table contains *all* definitions, not just public definitions.
This commit is contained in:
parent
f7af19c279
commit
170acedbd0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user