rust-analyzer/crates/completion
Nick Spain 4cc3a6d4fe 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
2020-12-31 16:23:05 +11:00
..
src Fix completion of Default struct update syntax 2020-12-31 16:23:05 +11:00
Cargo.toml Update crates 2020-12-30 10:39:50 -05:00