Skip to content

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
Contributor

bors commented Apr 29, 2020

📌 Commit 20c069b has been approved by flip1995

@bors
Copy link
Contributor

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
Contributor

bors commented Apr 29, 2020

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

@bors
Copy link
Contributor

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