Skip to content

Commit d0dfc22

Browse files
UrgauGuillaumeGomez
authored andcommitted
Apply documentation suggestions from code review
Co-authored-by: Guillaume Gomez <[email protected]>
1 parent d46c106 commit d0dfc22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/visit_ast.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
8888
// we add the rexport as an item here, and then skip over the original
8989
// definition in `visit_item()` below.
9090
//
91-
// We also skip `#[macro_export] macro_rules!` that have alredy been inserted,
92-
// this can append if within the same module a `#[macro_export] macro_rules!`
93-
// is declared but also a reexport of itself producing two export of the same
91+
// We also skip `#[macro_export] macro_rules!` that have already been inserted,
92+
// it can happen if within the same module a `#[macro_export] macro_rules!`
93+
// is declared but also a reexport of itself producing two exports of the same
9494
// macro in the same module.
9595
let mut inserted = FxHashSet::default();
9696
for export in self.cx.tcx.module_exports(CRATE_DEF_ID).unwrap_or(&[]) {

0 commit comments

Comments
 (0)