Skip to content

Commit 170aced

Browse files
committed
Fix a comment for the def_path_table.
The definition path table contains *all* definitions, not just public definitions.
1 parent f7af19c commit 170aced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/cstore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub struct CrateMetadata {
7070
// whichever `TyCtxt` is being used to decode those values.
7171
pub root: schema::CrateRoot<'static>,
7272

73-
/// For each public item in this crate, we encode a key. When the
73+
/// For each definition in this crate, we encode a key. When the
7474
/// crate is loaded, we read all the keys and put them in this
7575
/// hashmap, which gives the reverse mapping. This allows us to
7676
/// quickly retrace a `DefPath`, which is needed for incremental

0 commit comments

Comments
 (0)