Closed
Description
openedon Aug 26, 2012
As far as I can see it, the region and slice systems make it impossible to use a send_map<&str,V>
, unless you're only comparing static strings. The problem, as far as I can see it, is that find()
wants to take its argument by reference, so the region checker requires invariance somehow and borrow check errors happen.
@nikomatsakis, thoughts? Maybe we need a separate StringMap
type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment