aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model
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/project_model
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/project_model')
0 files changed, 0 insertions, 0 deletions