opened
HMPerson1
username_0
Closes #4586

changelog: Add `inefficient_to_string` lint, which checks for calling `to_string` on `&&str`, which would bypass the `str`'s specialization
Add `inefficient_to_string` lint
issue
created
Manishearth
username_1
(You'll also need to update the test expectations)
comment
created
Manishearth
username_1
@username_2 r+

thanks!
comment
created
bors
username_2
:pushpin: Commit 2106a239669ec2ffbf3ccec98fbc88442d5c001f has been approved by `username_1`

<!-- @username_2 r=username_1 2106a239669ec2ffbf3ccec98fbc88442d5c001f -->
<!-- homu: {"type":"Approved","sha":"2106a239669ec2ffbf3ccec98fbc88442d5c001f","approver":"username_1"} -->
comment
created
bors
username_2
:hourglass: Testing commit 2106a239669ec2ffbf3ccec98fbc88442d5c001f with merge 14a0f36617cbde9a018331c54727ede5ddf33014...
<!-- homu: {"type":"BuildStarted","head_sha":"2106a239669ec2ffbf3ccec98fbc88442d5c001f","merge_sha":"14a0f36617cbde9a018331c54727ede5ddf33014"} -->
comment
created
bors
username_2
:sunny: Test successful - [checks-travis](https://travis-ci.com/rust-lang/rust-clippy/builds/132449090), [status-appveyor](https://ci.appveyor.com/project/rust-lang-libs/rust-clippy/builds/28194788)
Approved by: username_1
Pushing 14a0f36617cbde9a018331c54727ede5ddf33014 to master...
<!-- homu: {"type":"BuildCompleted","approved_by":"username_1","base_ref":"master","builders":{"status-appveyor":"https://ci.appveyor.com/project/rust-lang-libs/rust-clippy/builds/28194788","checks-travis":"https://travis-ci.com/rust-lang/rust-clippy/builds/132449090"},"merge_sha":"14a0f36617cbde9a018331c54727ede5ddf33014"} -->
comment