aboutsummaryrefslogtreecommitdiff
path: root/src/parse_trait_sig.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-22 10:06:35 +0100
committerMartin Fischer <martin@push-f.com>2021-11-22 10:10:59 +0100
commit69a3335f1b79b074a0e1038bdfd9aa79508131d1 (patch)
treebb352dad39e880d11a1802b11c2a939e941a2ff6 /src/parse_trait_sig.rs
parent3d3e2ac6cdce593ab68c78d583f57905523a1591 (diff)
refactor: support IntoIterMapCollect with N types
Diffstat (limited to 'src/parse_trait_sig.rs')
-rw-r--r--src/parse_trait_sig.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse_trait_sig.rs b/src/parse_trait_sig.rs
index be8cccb..29b3205 100644
--- a/src/parse_trait_sig.rs
+++ b/src/parse_trait_sig.rs
@@ -17,8 +17,7 @@ pub enum TypeTransform {
Into,
Box(BoxType),
Map(Box<TypeTransform>),
- CollectionOneType(Box<TypeTransform>),
- CollectionTwoTypes(Box<TypeTransform>, Box<TypeTransform>),
+ IntoIterMapCollect(Vec<TypeTransform>),
Iterator(BoxType, Box<TypeTransform>),
Result(Box<TypeTransform>, Box<TypeTransform>),
}