Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upTrait implementations for `Recycled` #15
Comments
This comment has been minimized.
This comment has been minimized.
|
This is a great idea. Unfortunately, I don't have time to implement it at the moment. PRs are welcome if you have the time! |
zslayton
closed this
in
5bd809b
Nov 13, 2018
This comment has been minimized.
This comment has been minimized.
|
The fix for this added implementations for:
PRs forwarding other traits from |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jonhoo commentedJul 5, 2016
Currently,
Recycleddoesn't forward very many traits, even if the underlying type implements them. In particular, fairly standard traits such asClone,PartialOrdorHashare inaccessible throughRecycledandRcRecycled. This makes the wrapper type much harder to work with, and is pretty easy to fix. The impls section of Rc provides a fairly good list of traits that it's good for wrapper types to proxy.