File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ pub(super) fn check<'tcx>(
127127 }
128128}
129129
130- /// checks for for collecting into a (generic) method or function argument
130+ /// checks for collecting into a (generic) method or function argument
131131/// taking an `IntoIterator`
132132fn check_collect_into_intoiterator < ' tcx > (
133133 cx : & LateContext < ' tcx > ,
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ mod issue_9218 {
282282 todo ! ( )
283283 }
284284
285- // These two's return types don't use use 'a so it's not okay
285+ // These two's return types don't use 'a so it's not okay
286286 fn cow_bad_ret_ty_1 < ' a > ( input : & ' a Cow < ' a , str > ) -> & ' static str {
287287 //~^ ERROR: using a reference to `Cow` is not recommended
288288 todo ! ( )
You can’t perform that action at this time.
0 commit comments