about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-10 16:27:18 +0000
committerbors <bors@rust-lang.org>2021-03-10 16:27:18 +0000
commita1e25a957ed616e2ed4deae80967925bb25554af (patch)
treedb7407e5d7d1595533ff67563fda9f5ec2c7ca0b /src/test/ui/thinlto
parentfb27517e01e34acf21bbf6273822169f54a53987 (diff)
parent5dbd45cbc1c213a4e796a85b281f5bc397bf9000 (diff)
downloadrust-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/ui/thinlto')
0 files changed, 0 insertions, 0 deletions