aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transform.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/transform.rs b/src/transform.rs
index 3f1c313..e9da115 100644
--- a/src/transform.rs
+++ b/src/transform.rs
@@ -24,8 +24,13 @@ pub enum TransformError {
fn is_supported_collection(ident: &Ident) -> bool {
// collections added here must implement IntoIterator & FromIterator
- // FromIterator must not require bounds like Eq or Ord since these are Self-referential
- ident == "Vec" || ident == "VecDeque" || ident == "LinkedList"
+ // when adding a type here don't forget to document it in the README
+ ident == "Vec"
+ || ident == "VecDeque"
+ || ident == "LinkedList"
+ || ident == "HashSet"
+ || ident == "BinaryHeap"
+ || ident == "BTreeSet"
}
impl AssocTypeConversions<'_> {