rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

check if closure as method arg has read access in [`collection_is_never_read`]

Open J-ZhengLi opened this issue 1 year ago • 1 comments

fixes: #11783


changelog: fix [collection_is_never_read] misfires when use retain for iteration

J-ZhengLi avatar Apr 19 '24 08:04 J-ZhengLi

r? @dswij

rustbot has assigned @dswij. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Apr 19 '24 08:04 rustbot

Thank you!

@bors r+

dswij avatar Apr 29 '24 14:04 dswij

:pushpin: Commit adab7d08d75f8e92c1202aff3f0abd797da1062b has been approved by dswij

It is now in the queue for this repository.

bors avatar Apr 29 '24 14:04 bors

:hourglass: Testing commit adab7d08d75f8e92c1202aff3f0abd797da1062b with merge 0fc9a65b8f161314dfc5016472d949b6b3986e22...

bors avatar Apr 29 '24 14:04 bors

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: dswij Pushing 0fc9a65b8f161314dfc5016472d949b6b3986e22 to master...

bors avatar Apr 29 '24 14:04 bors