Skip to content

Commit 6d51904

Browse files
authored
Unrolled build for rust-lang#124924
Rollup merge of rust-lang#124924 - goofylfg:master, r=est31 chore: remove repetitive words
2 parents 238c1e7 + 5120010 commit 6d51904

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
494494
{
495495
self.suggest_cloning(err, ty, expr, None, Some(move_spans));
496496
} else if self.suggest_hoisting_call_outside_loop(err, expr) {
497-
// The place where the the type moves would be misleading to suggest clone.
497+
// The place where the type moves would be misleading to suggest clone.
498498
// #121466
499499
self.suggest_cloning(err, ty, expr, None, Some(move_spans));
500500
}

compiler/rustc_borrowck/src/region_infer/opaque_types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
4040
/// compares lifetimes directly, so we need to map the inference variables
4141
/// back to concrete lifetimes: `'static`, `ReEarlyParam` or `ReLateParam`.
4242
///
43-
/// First we map the regions in the the generic parameters `_Return<'1>` to
43+
/// First we map the regions in the generic parameters `_Return<'1>` to
4444
/// their `external_name` giving `_Return<'a>`. This step is a bit involved.
4545
/// See the [rustc-dev-guide chapter] for more info.
4646
///

0 commit comments

Comments
 (0)