aboutsummaryrefslogtreecommitdiff
path: root/src/parse_trait_sig.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-23 06:00:26 +0100
committerMartin Fischer <martin@push-f.com>2021-11-23 06:43:22 +0100
commit19dcb405cd4cfb960f51edbc1446e0a843772d6b (patch)
treefbd4a80460a20faea6975ae51939f463b612a6e3 /src/parse_trait_sig.rs
parentb4acbbf52be85595cf8dcb839217fc4e2958328e (diff)
support tuples
Diffstat (limited to 'src/parse_trait_sig.rs')
-rw-r--r--src/parse_trait_sig.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse_trait_sig.rs b/src/parse_trait_sig.rs
index dfe3ce7..1267707 100644
--- a/src/parse_trait_sig.rs
+++ b/src/parse_trait_sig.rs
@@ -17,6 +17,7 @@ pub enum TypeTransform {
Into,
Box(BoxType),
Map(Box<TypeTransform>),
+ Tuple(Vec<TypeTransform>),
IntoIterMapCollect(Vec<TypeTransform>),
Iterator(BoxType, Box<TypeTransform>),
Result(Box<TypeTransform>, Box<TypeTransform>),