bors 871ad80bb0 Auto merge of #7690 - Jarcho:while_loop_by_ref, r=xFrednet
Change `while_let_on_iterator` suggestion to use `by_ref()`

It came up in the discussion #7659 that suggesting `iter.by_ref()` is a clearer suggestion than `&mut iter`. I personally think they're equivalent, but if `by_ref()` is clearer to people then that should be the suggestion.

changelog: Change `while_let_on_iterator` suggestion when using `&mut` to use `by_ref()`
2021-09-19 17:37:04 +00:00
..
2021-09-08 14:07:03 -05:00
2021-09-08 14:07:03 -05:00
2021-09-08 14:07:03 -05:00
2021-09-08 08:21:06 -05:00
2021-09-08 08:21:06 -05:00
2021-09-08 08:21:06 -05:00