We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f589e3 commit ae547e3Copy full SHA for ae547e3
clippy_lints/src/methods/needless_collect.rs
@@ -127,7 +127,7 @@ pub(super) fn check<'tcx>(
127
}
128
129
130
-/// checks for for collecting into a (generic) method or function argument
+/// checks for collecting into a (generic) method or function argument
131
/// taking an `IntoIterator`
132
fn check_collect_into_intoiterator<'tcx>(
133
cx: &LateContext<'tcx>,
tests/ui/ptr_arg.rs
@@ -282,7 +282,7 @@ mod issue_9218 {
282
todo!()
283
284
285
- // These two's return types don't use use 'a so it's not okay
+ // These two's return types don't use 'a so it's not okay
286
fn cow_bad_ret_ty_1<'a>(input: &'a Cow<'a, str>) -> &'static str {
287
//~^ ERROR: using a reference to `Cow` is not recommended
288
0 commit comments