Skip to content

Commit 075f4ad

Browse files
committed
fix review
1 parent 98a87d3 commit 075f4ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_borrowck/src/region_infer/opaque_types.rs

Lines changed: 1 addition & 1 deletion
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
///

src/tools/clippy/clippy_lints/src/methods/needless_collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub(super) fn check<'tcx>(
127127
}
128128
}
129129

130-
/// checks for collecting into a (generic) method or function argument
130+
/// checks for for collecting into a (generic) method or function argument
131131
/// taking an `IntoIterator`
132132
fn check_collect_into_intoiterator<'tcx>(
133133
cx: &LateContext<'tcx>,

0 commit comments

Comments
 (0)