Skip to content

Commit 63e2cbf

Browse files
committed
some text improvements
1 parent 3708d54 commit 63e2cbf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/rustdoc-internals.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ This is the step that actually crawls the
6161

6262
After this step, `clean::krate` invokes [`clean_doc_module`], which actually
6363
converts the `HIR` items to the cleaned [`AST`][ast].
64-
This is also the step where cross-
65-
crate inlining is performed, which requires converting `rustc_middle` data
66-
structures into the cleaned [`AST`][ast].
64+
This is also the step where cross-crate inlining is performed,
65+
which requires converting `rustc_middle` data structures into the cleaned [`AST`][ast].
6766

6867
The other major thing that happens in `clean/mod.rs` is the collection of doc
6968
comments and `#[doc=""]` attributes into a separate field of the [`Attributes`]
@@ -101,7 +100,7 @@ These are all implemented in the [`librustdoc/passes`] directory, one file per p
101100
By default, all of these passes are run on a crate, but the ones
102101
regarding dropping private/hidden items can be bypassed by passing
103102
`--document-private-items` to `rustdoc`.
104-
Note that unlike the previous set of [`AST`][ast]
103+
Note that, unlike the previous set of [`AST`][ast]
105104
transformations, the passes are run on the _cleaned_ crate.
106105

107106
Here is the list of passes as of <!-- date-check --> March 2023:

0 commit comments

Comments
 (0)