mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
2ca3834c9f
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |