Skip to content

Commit 2aa314c

Browse files
committed
Fix duplicate 'the the' typos in comments
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
1 parent 19abae7 commit 2aa314c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_hir_typeck/src/writeback.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ impl<'cx, 'tcx> WritebackCx<'cx, 'tcx> {
798798
} else {
799799
let predicate = self.tcx().erase_and_anonymize_regions(predicate);
800800
if cause.has_infer() || cause.has_placeholders() {
801-
// We can't use the the obligation cause as it references
801+
// We can't use the obligation cause as it references
802802
// information local to this query.
803803
cause = self.fcx.misc(cause.span);
804804
}

compiler/rustc_type_ir/src/search_graph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ enum RebaseReason<X: Cx> {
924924
///
925925
/// This either happens in the first evaluation step for the cycle head.
926926
/// In this case the used provisional result depends on the cycle `PathKind`.
927-
/// We store this path kind to check whether the the provisional cache entry
927+
/// We store this path kind to check whether the provisional cache entry
928928
/// we're rebasing relied on the same cycles.
929929
///
930930
/// In later iterations cycles always return `stack_entry.provisional_result`

0 commit comments

Comments
 (0)