Fix invalid syntax in from_iter_instead_of_collect suggestion#7264
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @llogiq (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
|
A good start indeed! Very helpful suggestions and the comments make it easy to follow the code. 👍 @bors r+ |
|
📌 Commit ae0d4da has been approved by |
|
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
|
@llogiq giving credit where credit is due, etc., the comments were in the original code :) Glad to have been able to help, tough. Thank you so much for clippy!!! |

First attempt at contributing, hopefully this is a good start and can be improved. :)
fixes #7259
changelog: [
from_iter_instead_of_collect] fix invalid suggestion involving "as Trait"