-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cloned_instead_of_copied
lint
#7098
Conversation
r? @Manishearth (rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ thanks! |
📌 Commit 6c4bb85 has been approved by |
Add `cloned_instead_of_copied` lint Don't go cloning all willy-nilly. Featuring a new `get_iterator_item_ty` util! changelog: Add cloned_instead_of_copied lint Closes #3870
6c4bb85
to
b049c88
Compare
Added semicolon to doc examples 🤦 |
@bors r+ |
📌 Commit b049c88 has been approved by |
(feel free to |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Don't go cloning all willy-nilly.
Featuring a new
get_iterator_item_ty
util!changelog: Add cloned_instead_of_copied lint
Closes #3870