diff options
| author | bors <bors@rust-lang.org> | 2021-03-10 16:27:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-10 16:27:18 +0000 |
| commit | a1e25a957ed616e2ed4deae80967925bb25554af (patch) | |
| tree | db7407e5d7d1595533ff67563fda9f5ec2c7ca0b /src/test/incremental/thinlto | |
| parent | fb27517e01e34acf21bbf6273822169f54a53987 (diff) | |
| parent | 5dbd45cbc1c213a4e796a85b281f5bc397bf9000 (diff) | |
| download | rust-a1e25a957ed616e2ed4deae80967925bb25554af.tar.gz rust-a1e25a957ed616e2ed4deae80967925bb25554af.zip | |
Auto merge of #6794 - camsteffen:needless-borrowed-ref, r=flip1995
Improve needless_borrowed_ref docs changelog: none I think "borrowed ref" is a confusing description for this lint. Destructuring a reference is the opposite of borrowing. So I updated the wording throughout the docs. Unfortunately this nit applies to the name of the lint itself, but I won't bother changing that. One motivation for these changes is to clarify the difference between this lint and `needless_borrow` (they are actually quite different). Let me know if I need to clarify anything or if you disagree with any changes.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
