diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-09 20:16:28 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-09 20:16:28 +0100 |
commit | cc284dad30de4990516eeccf60f24e613fd78a2a (patch) | |
tree | ab1b62d318b44bec3706a30401d5b4213f8618a3 /crates/ra_syntax/src/ast/expr_extensions.rs | |
parent | 2fc2d4373b2c4e96bebf320a84270eee3afe34aa (diff) | |
parent | c5f8f3b1f423781e09bb5f63e33d772ee59fab77 (diff) |
Merge #1122
1122: Add explicit type assist. r=matklad a=marcogroppo
This assist can be used to specify the explicit type in let statements. For example `let num = 1;` becomes `let num: i32 = 1;`.
The assist is applicable only if the inferred type is fully known.
Co-authored-by: Marco Groppo <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast/expr_extensions.rs')
0 files changed, 0 insertions, 0 deletions