aboutsummaryrefslogtreecommitdiff
path: root/src/parse_trait_sig.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-21 09:37:32 +0100
committerMartin Fischer <martin@push-f.com>2021-11-21 09:39:40 +0100
commit57641e00d6ed1fd7689c3079abb10f67d5387143 (patch)
treeadb48bb70be52bc6035d93826f7725dd64054b49 /src/parse_trait_sig.rs
parent34dc166a9bc003bad36c28aeb29b625195d20a74 (diff)
support -> &mut dyn Iterator<Item = Self::A>
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 82b8ee9..cf2d7da 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>),
+ Iterator(Box<TypeTransform>),
Result(Box<TypeTransform>, Box<TypeTransform>),
}