Rollup merge of #112315 - lucascherzer:master, r=Nilstrieb
fix spelling error "rexport" is not valid spelling: https://www.merriam-webster.com/dictionary/re-export
This commit is contained in:
commit
7c363c22a2
@ -1,4 +1,4 @@
|
|||||||
// This crate is intentionally empty and a rexport of `rustc_driver_impl` to allow the code in
|
// This crate is intentionally empty and a re-export of `rustc_driver_impl` to allow the code in
|
||||||
// `rustc_driver_impl` to be compiled in parallel with other crates.
|
// `rustc_driver_impl` to be compiled in parallel with other crates.
|
||||||
|
|
||||||
pub use rustc_driver_impl::*;
|
pub use rustc_driver_impl::*;
|
||||||
|
@ -147,9 +147,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
|
|||||||
|
|
||||||
// `#[macro_export] macro_rules!` items are reexported at the top level of the
|
// `#[macro_export] macro_rules!` items are reexported at the top level of the
|
||||||
// crate, regardless of where they're defined. We want to document the
|
// crate, regardless of where they're defined. We want to document the
|
||||||
// top level rexport of the macro, not its original definition, since
|
// top level re-export of the macro, not its original definition, since
|
||||||
// the rexport defines the path that a user will actually see. Accordingly,
|
// the re-export defines the path that a user will actually see. Accordingly,
|
||||||
// we add the rexport as an item here, and then skip over the original
|
// we add the re-export as an item here, and then skip over the original
|
||||||
// definition in `visit_item()` below.
|
// definition in `visit_item()` below.
|
||||||
//
|
//
|
||||||
// We also skip `#[macro_export] macro_rules!` that have already been inserted,
|
// We also skip `#[macro_export] macro_rules!` that have already been inserted,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user