about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-20 09:14:38 +0000
committerGitHub <noreply@github.com>2021-12-20 09:14:38 +0000
commit2ca3834c9f15027fa68a0d0f70f7abf75a26d750 (patch)
treeb9cdd0674d7cc5742eb069ef4b8c5928d11ad084 /src/test/codegen/src-hash-algorithm
parent0add6e95e58633fde2fff0bccaf6c7d71ebc130f (diff)
parent76b50f14f74dac4d26969517709b5837505bc1d7 (diff)
downloadrust-2ca3834c9f15027fa68a0d0f70f7abf75a26d750.tar.gz
rust-2ca3834c9f15027fa68a0d0f70f7abf75a26d750.zip
Merge #11062
11062: fix: Don't say "a reference to" for `Copy` types in the generate getter assist r=Veykril a=patrick-gu

This changes the generate getter assist to not say "a reference to" in the documentation stub if the type is `Copy`, as the getter does not return a reference.

To determine whether the type is `Copy`, I have added an `is_copy` method to `ReferenceConversion`.

Co-authored-by: patrick-gu <55641350+patrick-gu@users.noreply.github.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions