clarify wording
This commit is contained in:
parent
3166e0857d
commit
e01c3b8211
1 changed files with 6 additions and 3 deletions
|
@ -61,9 +61,12 @@
|
||||||
//!
|
//!
|
||||||
//! The roots of the mono item graph correspond to the public non-generic
|
//! The roots of the mono item graph correspond to the public non-generic
|
||||||
//! syntactic items in the source code. We find them by walking the HIR of the
|
//! syntactic items in the source code. We find them by walking the HIR of the
|
||||||
//! crate, and whenever we hit upon a public function, method, or static item, we
|
//! crate, and whenever we hit upon a public function, method, or static item,
|
||||||
//! create a mono item consisting of the items DefId and, since we only
|
//! we create a mono item consisting of the items DefId and, since we only
|
||||||
//! consider non-generic items, an empty type-substitution set.
|
//! consider non-generic items, an empty type-substitution set. (In eager
|
||||||
|
//! collection mode, during incremental compilation, all non-generic functions
|
||||||
|
//! are considered as roots, as well as when the `-Clink-dead-code` option is
|
||||||
|
//! specified. Functions marked `#[no_mangle]` also always act as roots.)
|
||||||
//!
|
//!
|
||||||
//! ### Finding neighbor nodes
|
//! ### Finding neighbor nodes
|
||||||
//! Given a mono item node, we can discover neighbors by inspecting its
|
//! Given a mono item node, we can discover neighbors by inspecting its
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue