Skip to content

Commit 2e6285e

Browse files
committed
Future-prove collections::VecMap
Since `VecMap` might want to have key type parameter at some point, add a key type parameter now, so that code running today will still run when actual generalization of the key is added. The trait `VecMapKey` should really be private, but this is blocked by the fact that you cannot export a struct, function or trait implementation with one of the type parameters being bound by a private trait.
1 parent 9ade482 commit 2e6285e

File tree

2 files changed

+171
-152
lines changed

2 files changed

+171
-152
lines changed

0 commit comments

Comments
 (0)