aboutsummaryrefslogtreecommitdiff
path: root/src/parse_trait_sig.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-22 06:36:37 +0100
committerMartin Fischer <martin@push-f.com>2021-11-22 07:45:30 +0100
commitbacdafb4883d8f8ea06e498285c78f82de9a391b (patch)
tree30f3f795e2b8c4895cea7e708ca4a1fe46eedd0c /src/parse_trait_sig.rs
parenta973a628ec051ab9483fde7d694bb261bb793178 (diff)
support Vec, VecDeque & LinkedList collections
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 ab2c437..c924a71 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>),
+ Collection(Box<TypeTransform>),
Iterator(BoxType, Box<TypeTransform>),
Result(Box<TypeTransform>, Box<TypeTransform>),
}