Skip to content

Commit e30c52d

Browse files
committed
fix spelling error
1 parent 7452822 commit e30c52d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: 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::*;

Diff for: 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)