aboutsummaryrefslogtreecommitdiff
path: root/src/parse_trait_sig.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-22 09:52:00 +0100
committerMartin Fischer <martin@push-f.com>2021-11-22 09:53:46 +0100
commit3d3e2ac6cdce593ab68c78d583f57905523a1591 (patch)
treec4bac6f7dc9f3313c77239e886f890107b912ded /src/parse_trait_sig.rs
parent4101b0d0f188a7814bdfbf59378b0c528faa7147 (diff)
generalize to collection with one type / two types
Diffstat (limited to 'src/parse_trait_sig.rs')
-rw-r--r--src/parse_trait_sig.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse_trait_sig.rs b/src/parse_trait_sig.rs
index 8f578f7..be8cccb 100644
--- a/src/parse_trait_sig.rs
+++ b/src/parse_trait_sig.rs
@@ -17,8 +17,8 @@ pub enum TypeTransform {
Into,
Box(BoxType),
Map(Box<TypeTransform>),
- Collection(Box<TypeTransform>),
- CollectionMap(Box<TypeTransform>, Box<TypeTransform>),
+ CollectionOneType(Box<TypeTransform>),
+ CollectionTwoTypes(Box<TypeTransform>, Box<TypeTransform>),
Iterator(BoxType, Box<TypeTransform>),
Result(Box<TypeTransform>, Box<TypeTransform>),
}