diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-23 16:41:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-23 16:41:46 +0000 |
commit | eff1b3fe4d17dcecf0ec9a30c35d6c88715cb8ea (patch) | |
tree | 7f5abbc9336a3476de08d8ee5c3284b8d41db72d /Cargo.lock | |
parent | b605271d7f3fa3fd3ac4dd0e1520b80b5fb13b40 (diff) | |
parent | bc48c9d5116f08efea26da94c82a3eaa1622fc5d (diff) |
Merge #3689
3689: implement fill match arm assist for tuple of enums r=matklad a=JoshMcguigan
This updates the fill match arm assist to work in cases where the user is matching on a tuple of enums.
Note, for now this does not apply when some match arms exist (other than the trivial `_`), but I think this could be added in the future.
I think this also lays the groundwork for filling match arms when matching on tuples of non-enum values, for example a tuple of an enum and a boolean.
Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index f8d26192d..eb5247b69 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -876,6 +876,7 @@ name = "ra_assists" | |||
876 | version = "0.1.0" | 876 | version = "0.1.0" |
877 | dependencies = [ | 877 | dependencies = [ |
878 | "format-buf", | 878 | "format-buf", |
879 | "itertools", | ||
879 | "join_to_string", | 880 | "join_to_string", |
880 | "ra_db", | 881 | "ra_db", |
881 | "ra_fmt", | 882 | "ra_fmt", |