Skip to content

Commit e05ee65

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

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
@@ -87,9 +87,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
8787
// we add the rexport as an item here, and then skip over the original
8888
// definition in `visit_item()` below.
8989
//
90-
// We also skip `#[macro_export] macro_rules!` that have alredy been inserted,
91-
// this can append if within the same module a `#[macro_export] macro_rules!`
92-
// is declared but also a reexport of itself producing two export of the same
90+
// We also skip `#[macro_export] macro_rules!` that have already been inserted,
91+
// it can happen if within the same module a `#[macro_export] macro_rules!`
92+
// is declared but also a reexport of itself producing two exports of the same
9393
// macro in the same module.
9494
let mut inserted = FxHashSet::default();
9595
for export in self.cx.tcx.module_exports(CRATE_DEF_ID).unwrap_or(&[]) {

0 commit comments

Comments
 (0)