Rollup merge of #106402 - Rageking8:fix_dupe_word_typos, r=Nilstrieb

Fix dupe word typos

r? `@Nilstrieb`
Thanks!
This commit is contained in:
Matthias Krüger 2023-01-03 17:12:13 +01:00 committed by GitHub
commit e2f7108459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -410,7 +410,7 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
/// This method will create a new module and push it onto the "modules stack" then call
/// `visit_mod_contents`. Once done, it'll remove it from the "modules stack" and instead
/// add into into the list of modules of the current module.
/// add into the list of modules of the current module.
fn enter_mod(&mut self, id: hir::HirId, m: &'tcx hir::Mod<'tcx>, name: Symbol) {
self.modules.push(Module::new(name, id, m.spans.inner_span));