dashmap
dashmap copied to clipboard
By-reference version of `extend`
Since Extend
is a trait, it requires mutable references, although DashMap
and DashSet
by themselves allow extending with shared references.
It would be nice to have a shorthand function that's equivalent to Extend
, but only requires a shared reference. Or, maybe &DashMap
and &DashSet
could implement Extend
, allowing you to bypass this restriction.