File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,15 @@ impl SourceRoot {
53
53
}
54
54
55
55
/// `CrateGraph` is a bit of information which turns a set of text files into a
56
- /// number of Rust crates. Each crate is defined by the `FileId` of its root module,
57
- /// the set of cfg flags (not yet implemented) and the set of dependencies. Note
58
- /// that, due to cfg's, there might be several crates for a single `FileId`! As
59
- /// in the rust-lang proper, a crate does not have a name. Instead, names are
60
- /// specified on dependency edges. That is, a crate might be known under
56
+ /// number of Rust crates.
57
+ ///
58
+ /// Each crate is defined by the `FileId` of its root module, the set of enabled
59
+ /// `cfg` flags and the set of dependencies.
60
+ ///
61
+ /// Note that, due to cfg's, there might be several crates for a single `FileId`!
62
+ ///
63
+ /// For the purposes of analysis, a crate does not have a name. Instead, names
64
+ /// are specified on dependency edges. That is, a crate might be known under
61
65
/// different names in different dependent crates.
62
66
///
63
67
/// Note that `CrateGraph` is build-system agnostic: it's a concept of the Rust
You can’t perform that action at this time.
0 commit comments