2
0
Fork 0
mirror of https://github.com/rust-lang/rust-analyzer synced 2025-02-15 05:28:37 +00:00
rust-analyzer/docs
bors[bot] 3ad11973ac
Merge
2165: ra_assists: Add add_new assist r=matklad a=rep-nop

Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct.

Not marking this as closing  since there's a part 2 of adding autocompletion for when someone starts typing `[pub ]fn new(...`

Co-authored-by: Wesley Norris <repnop@outlook.com>
2019-11-15 07:01:19 +00:00
..
dev Update rustdoc link pt.2 2019-10-24 17:01:42 -04:00
user Merge 2019-11-15 07:01:19 +00:00