rust/crates/ide_assists
bors[bot] 2ca3834c9f
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>
2021-12-20 09:14:38 +00:00
..
src Merge #11062 2021-12-20 09:14:38 +00:00
Cargo.toml internal: move all the lexing to the parser crate 2021-12-18 17:20:38 +03:00