From 2aa314c024cc2561eb284bbe7a20a7645ceec614 Mon Sep 17 00:00:00 2001 From: Osama Abdelkader Date: Mon, 27 Oct 2025 00:37:43 +0300 Subject: [PATCH] Fix duplicate 'the the' typos in comments Signed-off-by: Osama Abdelkader --- compiler/rustc_hir_typeck/src/writeback.rs | 2 +- compiler/rustc_type_ir/src/search_graph/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_hir_typeck/src/writeback.rs b/compiler/rustc_hir_typeck/src/writeback.rs index 697029e55f7cb..50b6fe1ad5ecb 100644 --- a/compiler/rustc_hir_typeck/src/writeback.rs +++ b/compiler/rustc_hir_typeck/src/writeback.rs @@ -798,7 +798,7 @@ impl<'cx, 'tcx> WritebackCx<'cx, 'tcx> { } else { let predicate = self.tcx().erase_and_anonymize_regions(predicate); if cause.has_infer() || cause.has_placeholders() { - // We can't use the the obligation cause as it references + // We can't use the obligation cause as it references // information local to this query. cause = self.fcx.misc(cause.span); } diff --git a/compiler/rustc_type_ir/src/search_graph/mod.rs b/compiler/rustc_type_ir/src/search_graph/mod.rs index b2a871a21149e..4f3f140af67d1 100644 --- a/compiler/rustc_type_ir/src/search_graph/mod.rs +++ b/compiler/rustc_type_ir/src/search_graph/mod.rs @@ -924,7 +924,7 @@ enum RebaseReason { /// /// This either happens in the first evaluation step for the cycle head. /// In this case the used provisional result depends on the cycle `PathKind`. - /// We store this path kind to check whether the the provisional cache entry + /// We store this path kind to check whether the provisional cache entry /// we're rebasing relied on the same cycles. /// /// In later iterations cycles always return `stack_entry.provisional_result`