diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-12-20 09:14:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-20 09:14:38 +0000 |
| commit | 2ca3834c9f15027fa68a0d0f70f7abf75a26d750 (patch) | |
| tree | b9cdd0674d7cc5742eb069ef4b8c5928d11ad084 /src/test/codegen/src-hash-algorithm | |
| parent | 0add6e95e58633fde2fff0bccaf6c7d71ebc130f (diff) | |
| parent | 76b50f14f74dac4d26969517709b5837505bc1d7 (diff) | |
| download | rust-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
