diff options
author | Nick Spain <[email protected]> | 2020-12-31 05:22:59 +0000 |
---|---|---|
committer | Nick Spain <[email protected]> | 2020-12-31 05:23:05 +0000 |
commit | 4cc3a6d4fe16e342fcb2f791dd0ceccc188fb8ad (patch) | |
tree | b14ad3f33cbef2370685eda791e3e6ef3e7386ce /.gitignore | |
parent | bed7be9ed9f3eb905ae1c377f154fe0990b4c87f (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions