Closed LogvinovLeon closed 4 months ago
I'd support this if someone wrote a PR.
I started working on a PR and saw in examples .map_get(Clone::clone)
which achieves exactly what I want. Therefore - I don't think it's worth it to clutter the interface. Let me know if you disagree and i'll still submit the PR
Now if the map stores
Rc<T>
- one can only get&T
. It will be useful to be able to get clonedRc<T>
. And it's safe as Rc isCloneStableDeref