Skip to content
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

Fixed incorrect suggestion of clone_double_ref lint #5547

Merged
merged 1 commit into from
Apr 29, 2020

Conversation

CrazyRoka
Copy link
Contributor

@CrazyRoka CrazyRoka commented Apr 29, 2020

changelog: Improve suggestion of [clone_double_ref]

- Added `<_>` to suggestion
- Changed help message
@flip1995
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Apr 29, 2020

📌 Commit 20c069b has been approved by flip1995

@bors
Copy link
Collaborator

bors commented Apr 29, 2020

⌛ Testing commit 20c069b with merge c779d29...

bors added a commit that referenced this pull request Apr 29, 2020
…ip1995

Fixed incorrect suggestion of `clone_double_ref` lint

- Added `<_>` to suggestion
- Changed help message
- Added new tests
Closes #5494

changelog: none
@flip1995
Copy link
Member

@bors retry (changelog entry was missing)

@bors
Copy link
Collaborator

bors commented Apr 29, 2020

⌛ Testing commit 20c069b with merge 0a53ed2...

@bors
Copy link
Collaborator

bors commented Apr 29, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 0a53ed2 to master...

@bors bors merged commit 0a53ed2 into rust-lang:master Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clone_double_ref warns about cloning a mut &T
3 participants