Skip to content

Commit e2f7108

Browse files
authored
Rollup merge of #106402 - Rageking8:fix_dupe_word_typos, r=Nilstrieb
Fix dupe word typos r? `@Nilstrieb` Thanks!
2 parents 9d11933 + e808a69 commit e2f7108

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/rustc_lint/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ declare_lint! {
13921392
///
13931393
/// The attribute must be used in conjunction with the
13941394
/// [`closure_track_caller` feature flag]. Otherwise, the `#[track_caller]`
1395-
/// annotation will function as as no-op.
1395+
/// annotation will function as a no-op.
13961396
///
13971397
/// [`closure_track_caller` feature flag]: https://doc.rust-lang.org/beta/unstable-book/language-features/closure-track-caller.html
13981398
UNGATED_ASYNC_FN_TRACK_CALLER,

compiler/rustc_lint/src/early.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ macro_rules! lint_callback { ($cx:expr, $f:ident, $($args:expr),*) => ({
2929
$cx.pass.$f(&$cx.context, $($args),*);
3030
}) }
3131

32-
/// Implements the AST traversal for early lint passes. `T` provides the the
32+
/// Implements the AST traversal for early lint passes. `T` provides the
3333
/// `check_*` methods.
3434
pub struct EarlyContextAndPass<'a, T: EarlyLintPass> {
3535
context: EarlyContext<'a>,

compiler/rustc_lint/src/late.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ macro_rules! lint_callback { ($cx:expr, $f:ident, $($args:expr),*) => ({
4040
$cx.pass.$f(&$cx.context, $($args),*);
4141
}) }
4242

43-
/// Implements the AST traversal for late lint passes. `T` provides the the
43+
/// Implements the AST traversal for late lint passes. `T` provides the
4444
/// `check_*` methods.
4545
pub struct LateContextAndPass<'tcx, T: LateLintPass<'tcx>> {
4646
context: LateContext<'tcx>,

src/librustdoc/visit_ast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
410410

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

0 commit comments

Comments
 (0)