File tree 2 files changed +2
-2
lines changed
compiler/rustc_borrowck/src/region_infer
src/tools/clippy/clippy_lints/src/methods 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
40
40
/// compares lifetimes directly, so we need to map the inference variables
41
41
/// back to concrete lifetimes: `'static`, `ReEarlyParam` or `ReLateParam`.
42
42
///
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
44
44
/// their `external_name` giving `_Return<'a>`. This step is a bit involved.
45
45
/// See the [rustc-dev-guide chapter] for more info.
46
46
///
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ pub(super) fn check<'tcx>(
127
127
}
128
128
}
129
129
130
- /// checks for collecting into a (generic) method or function argument
130
+ /// checks for for collecting into a (generic) method or function argument
131
131
/// taking an `IntoIterator`
132
132
fn check_collect_into_intoiterator < ' tcx > (
133
133
cx : & LateContext < ' tcx > ,
You can’t perform that action at this time.
0 commit comments