Skip to content

Commit 7c363c2

Browse files
Rollup merge of #112315 - lucascherzer:master, r=Nilstrieb
fix spelling error "rexport" is not valid spelling: https://www.merriam-webster.com/dictionary/re-export
2 parents 714ab6d + e30c52d commit 7c363c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/rustc_driver/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This crate is intentionally empty and a rexport of `rustc_driver_impl` to allow the code in
1+
// This crate is intentionally empty and a re-export of `rustc_driver_impl` to allow the code in
22
// `rustc_driver_impl` to be compiled in parallel with other crates.
33

44
pub use rustc_driver_impl::*;

src/librustdoc/visit_ast.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
147147

148148
// `#[macro_export] macro_rules!` items are reexported at the top level of the
149149
// crate, regardless of where they're defined. We want to document the
150-
// top level rexport of the macro, not its original definition, since
151-
// the rexport defines the path that a user will actually see. Accordingly,
152-
// we add the rexport as an item here, and then skip over the original
150+
// top level re-export of the macro, not its original definition, since
151+
// the re-export defines the path that a user will actually see. Accordingly,
152+
// we add the re-export as an item here, and then skip over the original
153153
// definition in `visit_item()` below.
154154
//
155155
// We also skip `#[macro_export] macro_rules!` that have already been inserted,

0 commit comments

Comments
 (0)