bors 07217e3370 Auto merge of #7262 - Jarcho:while_let_on_iter_closure, r=xFrednet,flip1995
fix `while_let_on_iterator` suggestion in a closure

fixes: #7249

A future improvement would be to check if the closure is being used as `FnOnce`, in which case the original suggestion would be correct.

changelog: Suggest `&mut iter` inside a closure for `while_let_on_iterator`
2021-06-08 15:52:40 +00:00
..
2021-05-26 21:53:43 -05:00
2021-05-26 21:53:43 -05:00
2021-05-18 11:45:51 -04:00
2021-05-11 11:15:33 +02:00
2021-05-11 11:15:33 +02:00
2021-05-26 22:07:53 -05:00
2021-05-14 17:07:30 -07:00
2021-05-14 17:07:30 -07:00