File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ data structure basically just contains the root module, the HIR
3535` Crate ` structure contains a number of maps and other things that
3636serve to organize the content of the crate for easier access.
3737
38- [ `Crate` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir /hir/struct.Crate.html
38+ [ `Crate` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle /hir/struct.Crate.html
3939
4040For example, the contents of individual items (e.g. modules,
4141functions, traits, impls, etc) in the HIR are not immediately
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ The "entry point" to this module is
4848The first step in [ ` clean::utils::krate ` ] [ ck1 ] is to invoke
4949[ ` visit_ast::RustdocVisitor ` ] to process the module tree into an intermediate [ ` visit_ast::Module ` ] .
5050This is the step that actually crawls the
51- [ ` rustc_hir ::Crate` ] , normalizing various aspects of name resolution, such as:
51+ [ ` rustc_middle::hir ::Crate` ] , normalizing various aspects of name resolution, such as:
5252
5353 * handling ` #[doc(inline)] ` and ` #[doc(no_inline)] `
5454 * handling import globs and cycles, so there are no duplicates or infinite
@@ -79,7 +79,7 @@ which describe the publicly-documentable items in the target crate.
7979[ `core.rs` ] : https://github.com/rust-lang/rust/blob/HEAD/src/librustdoc/core.rs
8080[ `Item` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/struct.Item.html
8181[ `run_global_ctxt` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/core/fn.run_global_ctxt.html
82- [ `rustc_hir:: Crate` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir /hir/struct.Crate.html
82+ [ `rustc_middle::hir:: Crate` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle /hir/struct.Crate.html
8383[ `rustdoc::core::DocContext` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/core/struct.DocContext.html
8484[ `rustdoc::core::run_global_ctxt` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/core/fn.run_global_ctxt.html
8585[ `visit_ast::Module` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/visit_ast/struct.Module.html
You can’t perform that action at this time.
0 commit comments