aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src/proc_macro/bridge
diff options
context:
space:
mode:
authorNick Spain <[email protected]>2020-12-31 05:22:59 +0000
committerNick Spain <[email protected]>2020-12-31 05:23:05 +0000
commit4cc3a6d4fe16e342fcb2f791dd0ceccc188fb8ad (patch)
treeb14ad3f33cbef2370685eda791e3e6ef3e7386ce /crates/proc_macro_srv/src/proc_macro/bridge
parentbed7be9ed9f3eb905ae1c377f154fe0990b4c87f (diff)
Fix completion of Default struct update syntax
Previously the inserted text was always `..Default::default()` which ends up as `...Default::default()` if `.` was typed. Now checks if the current token is `.` and inserts `.Default::default()` if it is, so `..Default::default()` is correctly completed. Fixes #6969
Diffstat (limited to 'crates/proc_macro_srv/src/proc_macro/bridge')
0 files changed, 0 insertions, 0 deletions