diff options
| author | Urgau <lolo.branstett@numericable.fr> | 2021-10-15 12:21:25 +0200 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-10-21 22:39:52 -0400 |
| commit | d0dfc2283cd729498ca77929cb01d794eac50130 (patch) | |
| tree | 1ea7952f85110c67e815f9c326d0ce553c1d3904 | |
| parent | d46c10640db79b9bfa4ac27959cd9933c8c87a84 (diff) | |
| download | rust-d0dfc2283cd729498ca77929cb01d794eac50130.tar.gz rust-d0dfc2283cd729498ca77929cb01d794eac50130.zip | |
Apply documentation suggestions from code review
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
| -rw-r--r-- | src/librustdoc/visit_ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/visit_ast.rs b/src/librustdoc/visit_ast.rs index b1b124f8fcb..3e853456fad 100644 --- a/src/librustdoc/visit_ast.rs +++ b/src/librustdoc/visit_ast.rs @@ -88,9 +88,9 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> { // we add the rexport as an item here, and then skip over the original // definition in `visit_item()` below. // - // We also skip `#[macro_export] macro_rules!` that have alredy been inserted, - // this can append if within the same module a `#[macro_export] macro_rules!` - // is declared but also a reexport of itself producing two export of the same + // We also skip `#[macro_export] macro_rules!` that have already been inserted, + // it can happen if within the same module a `#[macro_export] macro_rules!` + // is declared but also a reexport of itself producing two exports of the same // macro in the same module. let mut inserted = FxHashSet::default(); for export in self.cx.tcx.module_exports(CRATE_DEF_ID).unwrap_or(&[]) { |
