aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-22 08:55:14 +0100
committerMartin Fischer <martin@push-f.com>2021-11-22 09:21:02 +0100
commitef698909223b2f29f7a6cae17f0aba3461c8803d (patch)
tree5f91a28cf98b6742c899bf515e99fcb8f89261ff /README.md
parent19823e09b7fe5e6a5b3965c7096c9daba18ce028 (diff)
support HashMap and BTreeMap
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index f2a0de2..02c9d5d 100644
--- a/README.md
+++ b/README.md
@@ -91,9 +91,9 @@ Dynamize also understands if you wrap associated types in the following types:
* `Result<_, _>`
* `some::module::Result<_>` (type alias with fixed error type)
* `&mut dyn Iterator<Item = _>`
-* `Vec<_>`, `VecDeque<_>`,`LinkedList<_>`
-* `HashSet<_>`, `BinaryHeap<_>`, `BTreeSet<_>`
- (these only work with `Into`-bounded associated types because they require `Eq`)
+* `Vec<_>`, `VecDeque<_>`, `LinkedList<_>`, `HashSet<K>`, `BinaryHeap<K>`,
+ `BTreeSet<K>`, `HashMap<K, _>`, `BTreeMap<K, _>`
+ (for `K` only `Into`-bounded associated types work because they require `Eq`)
Note that since these are resolved recursively you can actually nest these
arbitrarily so e.g. the following also just works: